fixes agenix and zfs
This commit is contained in:
parent
b0d4360415
commit
cd2ed4f9ec
1 changed files with 3 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{ inputs, config, ... }:
|
||||
let
|
||||
hostname = "dnsc-server";
|
||||
secretsDir = "${inputs.self}/secrets";
|
||||
in
|
||||
{
|
||||
flake.nixosConfigurations.${hostname} = inputs.nixpkgs.lib.nixosSystem {
|
||||
|
|
@ -22,6 +23,7 @@ in
|
|||
({ config, ... }: {
|
||||
imports = [ ./_hardware-configuration.nix ];
|
||||
networking.hostName = hostname;
|
||||
networking.hostId = "e5d5a602";
|
||||
system.stateVersion = "24.11";
|
||||
|
||||
# Secrets for this machine
|
||||
|
|
@ -30,7 +32,7 @@ in
|
|||
"${config.users.users.dennis.home}/.ssh/id_ed25519"
|
||||
];
|
||||
secrets."restic/password" = {
|
||||
file = ../../secrets/restic/password.age;
|
||||
file = "${secretsDir}/restic/password.age";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue