diff options
Diffstat (limited to 'configuration.nix')
-rw-r--r-- | configuration.nix | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/configuration.nix b/configuration.nix index b318c58..8fcab2e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -8,12 +8,25 @@ ./conf/fish.nix ]; - boot.loader.grub = { - enable = true; - version = 2; - device = "/dev/sda"; + boot = { + loader.grub = { + enable = true; + version = 2; + device = "/dev/sdb"; + }; + + initrd.luks.devices = [ + { + name = "root"; + device = "/dev/disk/by-uuid/6205da24-b1b2-402c-b175-4036e678dea9"; + preLVM = true; + allowDiscards = true; + } + ]; }; + fileSystems."/".options = [ "noatime" "nodiratime" "discard" ]; + networking = { hostName = "obelix"; firewall.enable = false; |