summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorandromeda <andromeda@lenovo>2025-12-31 02:28:00 +0100
committerandromeda <andromeda@lenovo>2025-12-31 02:28:00 +0100
commit4b8882d82dcc8667d2b1276d65e43d081c5fa868 (patch)
treee83b7e4734e05c5f7d72ccb3c6228448f5fad420 /flake.nix
parent42a93f042e2c821939fa6aa4ac8945997d5b5099 (diff)
change pub key management again, centralize users, start to modularize lenovo conf
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 328aad5..ded0b74 100644
--- a/flake.nix
+++ b/flake.nix
@@ -35,11 +35,11 @@
noshell,
nur,
nvf,
+ self,
stylix,
...
}: let
machines = import ./machines.nix;
- _173-249-5-230 = machines._173-249-5-230;
configuration = machine: modules:
nixpkgs.lib.nixosSystem {
system = machine.system;
@@ -48,11 +48,13 @@
modules
++ [
./machines/${machine.hostname}/configuration.nix
+ ./users.nix
+ ./secrets.nix
+ agenix.nixosModules.default
];
};
configurationWithHomeManager = machine: (configuration machine
[
- agenix.nixosModules.default
home-manager.nixosModules.home-manager
{
nixpkgs.overlays = [