From fa83bdc5067417e3407241b17116a560c9d86b61 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Mon, 3 Feb 2025 21:56:21 +0100 Subject: move around alot of stuff --- flake.nix | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'flake.nix') 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 ]; }; }; -- cgit v1.2.3