mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
updates to server config
Signed-off-by: Stefan Ellmauthaler <stefan.ellmauthaler@tu-dresden.de>
This commit is contained in:
parent
7d89090200
commit
dfd8e42907
@ -33,7 +33,7 @@ flakes.nixpkgs.lib.listToAttrs (map mkMachine [
|
||||
extraModules = [ flakes.home-manager.nixosModules.home-manager ];
|
||||
}
|
||||
{
|
||||
name = "ellmauthaler.net";
|
||||
name = "ellmauthaler";
|
||||
extraModules = [ flakes.home-manager.nixosModules.home-manager ];
|
||||
type = [ ./layer/server.nix ];
|
||||
}
|
||||
|
||||
6
flake.lock
generated
6
flake.lock
generated
@ -2,11 +2,11 @@
|
||||
"nodes": {
|
||||
"emacs-overlay": {
|
||||
"locked": {
|
||||
"lastModified": 1636450031,
|
||||
"narHash": "sha256-20fe+sqam5FHDmaxKm4ix55/FPgkWV64V8WdL8DcMQM=",
|
||||
"lastModified": 1636478422,
|
||||
"narHash": "sha256-HvuQabo0MjPudk6Un73Fr49s42JIYaoptzsJ4pTmRBA=",
|
||||
"owner": "nix-community",
|
||||
"repo": "emacs-overlay",
|
||||
"rev": "afd2e166179d8ba8c8eb6dc24e23fef8d10ce3ab",
|
||||
"rev": "5dbb662e9ba260eb9c0d83b8dce11a2b6d8a4831",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
7
machine/ellmauthaler/default.nix
Normal file
7
machine/ellmauthaler/default.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ config, pkgs, ...}:
|
||||
{
|
||||
networking ={
|
||||
hostName = "ellmauthaler";
|
||||
domain = "net";
|
||||
};
|
||||
}
|
||||
38
machine/ellmauthaler/hardware-configuration.nix
Normal file
38
machine/ellmauthaler/hardware-configuration.nix
Normal file
@ -0,0 +1,38 @@
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/da267a3c-34e3-4218-933f-10738ee61eb6";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/home" =
|
||||
{ device = "/dev/disk/by-uuid/9ebd7aff-629b-449b-83d8-6381a04eb708";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/DE6D-C383";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/0069f1fa-dd8e-4c0a-8f01-a576af29909e"; }
|
||||
];
|
||||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
# high-resolution display
|
||||
hardware.video.hidpi.enable = lib.mkDefault true;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user