Add old SSD configuration
This commit is contained in:
parent
afcaeeece9
commit
76cf884987
1 changed files with 21 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue