diff --git a/flake.nix b/flake.nix index 3eaf4eb..43baf2b 100644 --- a/flake.nix +++ b/flake.nix @@ -185,6 +185,11 @@ }; }); + diskoConfigurations = { + "battleship" = import ./hosts/battleship/disko.nix; + "dreadnought" = import ./hosts/dreadnought/disko.nix; + }; + nixosModules = { neovim = inputs.neovim.nixosModules.default; }; diff --git a/hosts/battleship/disko.nix b/hosts/battleship/disko.nix index b828d11..755437b 100644 --- a/hosts/battleship/disko.nix +++ b/hosts/battleship/disko.nix @@ -69,9 +69,9 @@ device = "/dev/sda"; content = { type = "gpt"; - partitions.luksstorage = { + partitions.luks = { size = "100%"; - label = "luks"; + label = "luksstorage"; content = { type = "luks"; name = "cryptstorage"; @@ -84,7 +84,7 @@ content = { type = "filesystem"; format = "ext4"; - mountpoint = "/"; + mountpoint = "/run/media/cryptstorage"; }; }; };