|
79 | 79 |
|
80 | 80 | system.stateVersion = 4; |
81 | 81 | nixpkgs-path = inputs.nixpkgs; |
| 82 | + nixpkgs-unstable-path = inputs.nixpkgs-unstable; |
82 | 83 | } |
83 | 84 | inputs.home-manager.darwinModules.home-manager |
84 | 85 | ({ config, ... }: { |
85 | 86 | home-manager.users.${config.mainUser} = { |
86 | 87 | imports = [ |
87 | 88 | ./home-configurations/peteresselius.nix |
88 | 89 | ./home-modules/default.nix |
| 90 | + inputs.agenix.homeManagerModules.default |
| 91 | + inputs.krewfile.homeManagerModules.krewfile |
| 92 | + inputs.nix-index-database.hmModules.nix-index |
| 93 | + inputs.nixvim.homeManagerModules.nixvim |
89 | 94 | ]; |
90 | 95 | }; |
91 | 96 | home-manager.extraSpecialArgs = { inherit inputs; }; |
|
114 | 119 | nix = ./home-modules/nix.nix; |
115 | 120 | neovim = ./home-modules/neovim.nix; |
116 | 121 | }; |
| 122 | + |
| 123 | + nixosConfigurations.adama = inputs.nixpkgs-nixos.lib.nixosSystem { |
| 124 | + modules = [ |
| 125 | + ./nixos-configurations/adama.nix |
| 126 | + ./nixos-modules/default.nix |
| 127 | + inputs.raspberry-pi-nix.nixosModules.raspberry-pi |
| 128 | + inputs.agenix.nixosModules.default |
| 129 | + inputs.authentik-nix.nixosModules.default |
| 130 | + { |
| 131 | + _module.args.mkAuthentikScope = inputs.authentik-nix.lib.mkAuthentikScope; |
| 132 | + nixpkgs-path = inputs.nixpkgs-nixos; |
| 133 | + nixpkgs-unstable-path = inputs.nixpkgs-unstable; |
| 134 | + } |
| 135 | + inputs.home-manager-nixos.nixosModules.home-manager |
| 136 | + ({ config, ... }: { |
| 137 | + home-manager.users.${config.mainUser} = { |
| 138 | + imports = [ |
| 139 | + ./home-configurations/peteresselius.nix |
| 140 | + ./home-modules/default.nix |
| 141 | + inputs.agenix.homeManagerModules.default |
| 142 | + inputs.krewfile.homeManagerModules.krewfile |
| 143 | + inputs.nix-index-database.hmModules.nix-index |
| 144 | + inputs.nixvim.homeManagerModules.nixvim |
| 145 | + ]; |
| 146 | + }; |
| 147 | + home-manager.extraSpecialArgs = { inherit inputs; }; |
| 148 | + }) |
| 149 | + ]; |
| 150 | + specialArgs = { inherit inputs; }; |
| 151 | + }; |
117 | 152 | }; |
118 | 153 |
|
| 154 | + |
119 | 155 | dev.enable = true; |
120 | 156 | }; |
121 | 157 | } |
0 commit comments