refactor(flake): optimize structure
- get rid of some `rec`s - move lib & overlays into flake modules
This commit is contained in:
parent
ea5b11995b
commit
10c0834daa
6 changed files with 90 additions and 74 deletions
modules
12
modules/common.nix
Normal file
12
modules/common.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ inputs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
inputs.self.nixosModules.flakeDefaults
|
||||
inputs.agenix.nixosModules.default
|
||||
];
|
||||
|
||||
nixpkgs.overlays = [ inputs.self.overlays.default ];
|
||||
|
||||
environment.systemPackages = [ inputs.agenix.packages.x86_64-linux.default ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue