This commit is contained in:
2024-09-17 10:08:23 -04:00
parent 00b8680745
commit 7fe6cd9bd6
12 changed files with 22 additions and 27 deletions

View File

@@ -105,22 +105,13 @@
age.identityPaths = [ "/home/${username}/.ssh/id_ed25519" ];
age.secrets.wifi-passwords = {
file = ./secrets/wifi-passwords.age;
path = "/etc/secrets/wifi-passwords.nix";
};
age.secrets.primary-password = {
file = ./secrets/primary-password.age;
path = "/etc/secrets/primary-password";
};
#networking
networking =
let
wifi-passwords = import "${config.age.secrets.wifi-passwords.path}";
in
import ./networking.nix { inherit hostname wifi-passwords; };
networking = import ./networking.nix { inherit hostname; };
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
@@ -198,6 +189,8 @@
(inputs.agenix.packages.${pkgs.system}.default.override { ageBin = "${pkgs.rage}/bin/rage"; })
qemu_full
git-agecrypt
];
#wayland with electron/chromium applications

View File

@@ -50,11 +50,11 @@
]
},
"locked": {
"lastModified": 1726523817,
"narHash": "sha256-5KueNk96kOJ+Y2n2jZhNd2mdJbPQe3Y8pu1ZRkUCZNQ=",
"lastModified": 1726576520,
"narHash": "sha256-qkaiUpE3qRXunKbUzMaTGTMzF8nv534oglJY4a2hxNY=",
"owner": "chaotic-cx",
"repo": "nyx",
"rev": "6c47675209ab684a05adcd6cee50d3d64247280d",
"rev": "4409a04839fc8c911ef3e461bb5f422ae1d03a85",
"type": "github"
},
"original": {
@@ -332,11 +332,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1726578198,
"narHash": "sha256-x+B/GJ9wc4qrq8PfTaYVnthwyaXmajCB2aGYiF2YKAM=",
"lastModified": 1726580083,
"narHash": "sha256-Jjf3j6s4NHQjQeq7R11ZuCEMgNd7GXinAxAbtfY28xA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "058f7222f15e3804199fb3ede267cb0368487a33",
"rev": "232996c3e7c200ea5619c8ec9dbe24e2101cf210",
"type": "github"
},
"original": {

View File

@@ -13,5 +13,5 @@
};
};
wireless.networks = wifi-passwords;
wireless.networks = import ./secrets/wifi-passwords.nix;
}

View File

@@ -11,7 +11,6 @@ in
];
})
[
"wifi-passwords.age"
"primary-password.age"
]
))

Binary file not shown.