diff options
| -rw-r--r-- | flake.nix | 7 | ||||
| -rw-r--r-- | nixos/configuration.nix | 10 |
2 files changed, 15 insertions, 2 deletions
@@ -15,11 +15,16 @@ helium-flake.url = "github:oxcl/nix-flake-helium-browser"; helium-flake.inputs.nixpkgs.follows = "nixpkgs"; + lanzaboote = { + url = "github:nix-community/lanzaboote/v0.4.1"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = { self, nixpkgs, + lanzaboote home-manager, ... } @ inputs: let @@ -27,7 +32,7 @@ # NixOS configuration entrypoint # Available through 'nixos-rebuild --flake .#your-hostname' nixosConfigurations = { - phos = nixpkgs.lib.nixosSystem { + phosphophyllite = nixpkgs.lib.nixosSystem { specialArgs = {inherit inputs;}; # > Our main nixos configuration file < modules = [./nixos/configuration.nix]; diff --git a/nixos/configuration.nix b/nixos/configuration.nix index d979252..6e006a3 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -21,6 +21,7 @@ inputs.serpantinum.nixosModules.default inputs.spicetify-nix.nixosModules.default inputs.helium-flake.nixosModules.default + inputs.lanzaboote.nixosModules.lanzaboote ]; nixpkgs = { @@ -55,9 +56,15 @@ channel.enable = false; }; - boot.loader.systemd-boot.enable = true; + # boot.loader.systemd-boot.enable = true; + boot.loader.systemd-boot.enable = lib.mkForce false; boot.loader.efi.canTouchEfiVariables = true; + boot.lanzaboote = { + enable = true; + pkiBundle = "/var/lib/sbctl"; + }; + networking.hostName = "phosphophyllite"; # Define your hostname. programs.hyprland = { @@ -140,6 +147,7 @@ fonts.packages = with pkgs; [ # (nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) ]; environment.systemPackages = with pkgs; [ + sbctl wget foot starship |
