adds agenix
This commit is contained in:
parent
996dc27419
commit
7353edd594
3 changed files with 111 additions and 13 deletions
|
|
@ -6,7 +6,7 @@ in
|
|||
flake.nixosConfigurations.${hostname} = inputs.nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = with config.flake.modules.nixos; [
|
||||
agenix.nixosModules.default
|
||||
inputs.agenix.nixosModules.default
|
||||
home-manager
|
||||
base
|
||||
git
|
||||
|
|
@ -21,8 +21,6 @@ in
|
|||
|
||||
{
|
||||
imports = [ ./_hardware-configuration.nix ];
|
||||
samba-share.path = "/main/share";
|
||||
samba-share.allowedHosts = "192.168.178. 127.0.0.1 localhost";
|
||||
networking.hostName = hostname;
|
||||
system.stateVersion = "24.11";
|
||||
|
||||
|
|
@ -35,6 +33,10 @@ in
|
|||
file = ../../secrets/restic/password.age;
|
||||
};
|
||||
};
|
||||
|
||||
# Options for my custom modules
|
||||
samba-share.path = "/main/share";
|
||||
samba-share.allowedHosts = "192.168.178. 127.0.0.1 localhost";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue