summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-02-03 21:56:21 +0100
committerJasper Ras <jras@hostnet.nl>2025-02-03 21:58:17 +0100
commitfa83bdc5067417e3407241b17116a560c9d86b61 (patch)
tree187fe6802049fceeadb3e6fe3bf4c33579625530 /flake.nix
parent91bd5252699ca471fa33defda502558864cdaff0 (diff)
move around alot of stuff
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix16
1 files changed, 2 insertions, 14 deletions
diff --git a/flake.nix b/flake.nix
index 6966ffb..fdd5e8b 100644
--- a/flake.nix
+++ b/flake.nix
@@ -89,22 +89,10 @@
system = "x86_64-linux";
modules = [
- { system.stateVersion = "24.11"; }
-
disko.nixosModules.disko
nixos-facter-modules.nixosModules.facter
- {
- config.facter.reportPath =
- if builtins.pathExists ./hardware/snorlax.json then
- ./hardware/snorlax.json
- else
- throw "Have you forgotten to run nixos-anywhere with `--generate-hardware-config nixos-facter ./hardware/snorlax.json`?";
- }
-
- ./hardware/snorlax-disks.nix
- ./roles/server.nix
- ./configuration/snorlax.nix
- ./configuration/gitea.nix
+ { config.facter.reportPath = ./configuration/snorlax/facter.json; }
+ ./configuration/snorlax
];
};
};