Something went wrong. Try again.
nix and nixos configs forked from filemagic.tngl.sh/nix
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116{ description = "NixOS configurations with Home Manager";
inputs = { nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; agenix = { url = "github:ryantm/agenix"; inputs.nixpkgs.follows = "nixpkgs"; }; impermanence = { url = "github:nix-community/impermanence/7b1d382faf603b6d264f58627330f9faa5cba149"; inputs.nixpkgs.follows = "nixpkgs"; }; disko = { url = "github:nix-community/disko/de5708739256238fb912c62f03988815db89ec9a"; inputs.nixpkgs.follows = "nixpkgs"; }; lanzaboote = { url = "github:nix-community/lanzaboote/f4b0aef3dba28677a5ca4b3416827aade60b5a0b"; inputs.nixpkgs.follows = "nixpkgs"; }; };
outputs = { self, nixpkgs, home-manager, agenix, ... } @ inputs: let lib = nixpkgs.lib; system = "x86_64-linux"; in { checks."${system}" = { thick-black-cannon = self.nixosConfigurations.thick-black-cannon.config.system.build.toplevel; "13-inch-thin-cannon" = self.nixosConfigurations."13-inch-thin-cannon".config.system.build.toplevel; };
devShells."${system}".default = nixpkgs.legacyPackages.${system}.mkShell { packages = [agenix.packages."${system}".agenix]; };
packages."${system}" = { # OVMF firmware with Secure Boot enabled (for ISO / boot testing) ovmf = nixpkgs.legacyPackages.${system}.OVMFFull.fd; };
nixosConfigurations = { thick-black-cannon = lib.nixosSystem { inherit system; modules = [ ./thick-black-cannon/configuration.nix agenix.nixosModules.age home-manager.nixosModules.default { home-manager = { useGlobalPkgs = true; useUserPackages = true; users.file_magic = ./thick-black-cannon/home.nix; };
environment.pathsToLink = [ "/share/applications" "/share/xdg-desktop-portal" ]; nixpkgs.config = { allowUnfree = true; }; } ]; };
"13-inch-thin-cannon" = lib.nixosSystem { inherit system; specialArgs = { inherit inputs self; }; modules = [ ./13-inch-thin-cannon/configuration.nix agenix.nixosModules.age home-manager.nixosModules.default { home-manager = { useGlobalPkgs = true; useUserPackages = true; users.file_magic = ./13-inch-thin-cannon/home.nix; };
environment.pathsToLink = [ "/share/applications" "/share/xdg-desktop-portal" ]; nixpkgs.config = { allowUnfree = true; }; } ]; };
"13-inch-thin-cannon-iso" = lib.nixosSystem { inherit system; specialArgs = { inherit inputs self; }; modules = [ ./13-inch-thin-cannon/installer.nix ]; }; }; };}