feat: remove luks config from hardware/base.nix
This commit is contained in:
parent
4f8f77441d
commit
9bb9782ec6
|
@ -5,12 +5,6 @@
|
||||||
./planck.nix
|
./planck.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.luks.devices = {
|
|
||||||
root = {
|
|
||||||
device = "/dev/disk/by-partlabel/nixos";
|
|
||||||
allowDiscards = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
boot.supportedFilesystems = [ "btrfs" ];
|
boot.supportedFilesystems = [ "btrfs" ];
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
|
|
@ -11,6 +11,14 @@
|
||||||
./virtualisation/docker.nix
|
./virtualisation/docker.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# replace with regenerated hardware-configuration.nix
|
||||||
|
boot.initrd.luks.devices = {
|
||||||
|
enc = {
|
||||||
|
device = "/dev/disk/by-partlabel/nixos";
|
||||||
|
allowDiscards = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
networking.hostName = "pilot1-nixos"; # Define your hostname.
|
networking.hostName = "pilot1-nixos"; # Define your hostname.
|
||||||
|
|
Loading…
Reference in a new issue