diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index ce929e0..8811d44 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -11,12 +11,33 @@ inputs.home-manager.nixosModules.default ./main-user.nix ]; + + fileSystems."/mnt" = + { device = "/dev/mapper/volgrp-root"; + fsType = "btrfs"; + options = [ "subvol=5" ]; + }; + + fileSystems."/mnt/home" = + { device = "/dev/mapper/volgrp-home"; + fsType = "btrfs"; + options = [ "subvol=5" ]; + }; + boot.initrd.luks.devices."nvme0n1p2_crypt".device = "/dev/disk/by-uuid/93922f23-d0ba-4405-adbb-9789d37e5985"; + boot.initrd.luks.devices."nvme2n1p2_oldcrypt".device = "/dev/disk/by-uuid/44235dca-99e8-4ea8-9516-97d9f5a2d702"; + + # Add flakes nix.settings.experimental-features = [ "nix-command" "flakes" ]; + + # Feel like I should be sure this is safe w/flakes first: + #system.autoUpgrade.enable = true; + # Bootloader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + # System name networking.hostName = "supercell"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.