From 80b5991b6ed908a43b858592276d539d7b181971 Mon Sep 17 00:00:00 2001 From: Dennis Schoepf Date: Wed, 25 Dec 2024 20:27:44 +0100 Subject: [PATCH] Restructures directories --- flake.nix | 2 +- hosts/dnsc-server/home.nix => home/default.nix | 0 hosts/dnsc-server/{configuration.nix => default.nix} | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename hosts/dnsc-server/home.nix => home/default.nix (100%) rename hosts/dnsc-server/{configuration.nix => default.nix} (98%) diff --git a/flake.nix b/flake.nix index 275cbf0..e697ba0 100644 --- a/flake.nix +++ b/flake.nix @@ -20,7 +20,7 @@ nixosConfigurations.dnsc-server = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = {inherit inputs outputs;}; - modules = [./hosts/dnsc-server/configuration.nix]; + modules = [./hosts/dnsc-server]; }; }; } diff --git a/hosts/dnsc-server/home.nix b/home/default.nix similarity index 100% rename from hosts/dnsc-server/home.nix rename to home/default.nix diff --git a/hosts/dnsc-server/configuration.nix b/hosts/dnsc-server/default.nix similarity index 98% rename from hosts/dnsc-server/configuration.nix rename to hosts/dnsc-server/default.nix index 0ac0a3d..c55a4e5 100644 --- a/hosts/dnsc-server/configuration.nix +++ b/hosts/dnsc-server/default.nix @@ -51,7 +51,7 @@ home-manager = { extraSpecialArgs = { inherit inputs outputs; }; users = { - dennis = import ./home.nix; + dennis = import ../../home; }; };