diff options
Diffstat (limited to 'modules/hosts')
| -rw-r--r-- | modules/hosts/adam/configuration.nix | 10 | ||||
| -rw-r--r-- | modules/hosts/adam/flake-parts.nix | 8 |
2 files changed, 11 insertions, 7 deletions
diff --git a/modules/hosts/adam/configuration.nix b/modules/hosts/adam/configuration.nix index 8e134f2..85a352f 100644 --- a/modules/hosts/adam/configuration.nix +++ b/modules/hosts/adam/configuration.nix @@ -11,9 +11,13 @@ kernelModules = [ "amdgpu" ]; loader = { timeout = 0; - systemd-boot.enable = true; + systemd-boot.enable = pkgs.lib.mkForce false; efi.canTouchEfiVariables = true; }; + lanzaboote = { + enable = true; + pkiBundle = "/var/lib/sbctl"; + }; }; # Disable waiting for network to be online @@ -38,6 +42,10 @@ ]; }; + environment.systemPackages = [ + pkgs.sbctl + ]; + nix.settings.experimental-features = [ "nix-command" "flakes" diff --git a/modules/hosts/adam/flake-parts.nix b/modules/hosts/adam/flake-parts.nix index aa6d8b9..800ca80 100644 --- a/modules/hosts/adam/flake-parts.nix +++ b/modules/hosts/adam/flake-parts.nix @@ -3,12 +3,8 @@ flake.nixosConfigurations."adam" = inputs.nixpkgs.lib.nixosSystem { specialArgs = { inherit inputs; }; modules = with inputs.self.modules.nixos; [ - { - nixpkgs.overlays = [ - inputs.self.overlays.ida-pro - inputs.self.overlays.ida-pro-mcp - ]; - } + inputs.self.modules.nixos.nixpkgs + inputs.lanzaboote.nixosModules.lanzaboote adam ida-pro home-manager |
