diff --git a/.idea/copilot.data.migration.agent.xml b/.idea/copilot.data.migration.agent.xml new file mode 100644 index 0000000..4ea72a9 --- /dev/null +++ b/.idea/copilot.data.migration.agent.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/copilot.data.migration.edit.xml b/.idea/copilot.data.migration.edit.xml new file mode 100644 index 0000000..8648f94 --- /dev/null +++ b/.idea/copilot.data.migration.edit.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/flake.nix b/flake.nix index d251a8f..15e67bb 100644 --- a/flake.nix +++ b/flake.nix @@ -22,9 +22,13 @@ url = "github:Platonic-Systems/secrix"; inputs.nixpkgs.follows = "nixpkgs"; }; + lanzaboote = { + url = "github:nix-community/lanzaboote/v0.4.3"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; - outputs = { self, nixpkgs, home-manager, plasma-manager, nixos-generators, secrix }: + outputs = { self, nixpkgs, home-manager, plasma-manager, nixos-generators, secrix, lanzaboote }: let hmModule = file: { imports = [ home-manager.nixosModules.home-manager ]; @@ -70,6 +74,7 @@ Yura-TPX13 = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ + lanzaboote.nixosModules.lanzaboote ./modules ./hosts/common.nix ./hosts/common-desktop.nix diff --git a/hosts/common-desktop.nix b/hosts/common-desktop.nix index 275c532..3f06707 100644 --- a/hosts/common-desktop.nix +++ b/hosts/common-desktop.nix @@ -11,10 +11,11 @@ boot.loader = { efi.canTouchEfiVariables = true; timeout = 3; - systemd-boot = { - enable = true; - configurationLimit = 5; - }; + systemd-boot.enable = false; + }; + boot.lanzaboote = { + enable = true; + pkiBundle = "/var/lib/sbctl"; }; # https://nixos.wiki/wiki/Accelerated_Video_Playback