diff options
Diffstat (limited to 'machines/x220-gnome/hardware-configuration.nix')
-rw-r--r-- | machines/x220-gnome/hardware-configuration.nix | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/machines/x220-gnome/hardware-configuration.nix b/machines/x220-gnome/hardware-configuration.nix index 7db32ec..4065509 100644 --- a/machines/x220-gnome/hardware-configuration.nix +++ b/machines/x220-gnome/hardware-configuration.nix @@ -6,37 +6,17 @@ { imports = [ (modulesPath + "/installer/scan/not-detected.nix") + (import ./disko.nix { device = "/dev/sda"; }) ]; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - boot.initrd.luks.devices."luks-9f3a316a-7177-4122-a4f5-03fbd375d6e1".device = "/dev/disk/by-uuid/9f3a316a-7177-4122-a4f5-03fbd375d6e1"; - networking.hostName = "nixos"; # Define your hostname. - - boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "usb_storage" "sd_mod" "sdhci_pci" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; - fileSystems."/" = - { device = "/dev/disk/by-uuid/01db2679-e134-4870-b503-a0e616432175"; - fsType = "ext4"; - }; - - boot.initrd.luks.devices."luks-8a50e0b7-d2a7-4b0c-b092-9194536cae41".device = "/dev/disk/by-uuid/8a50e0b7-d2a7-4b0c-b092-9194536cae41"; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/D259-64AC"; - fsType = "vfat"; - options = [ "fmask=0022" "dmask=0022" ]; - }; - - swapDevices = - [ { device = "/dev/disk/by-uuid/a7366f52-418f-47a7-bb29-fbd394d559ee"; } - ]; - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's # still possible to use this option, but it's recommended to use it in conjunction |