From 104a0ccd4a83493ea689e50527ce2072d5f6dcad Mon Sep 17 00:00:00 2001 From: Nico Date: Sat, 3 May 2025 16:15:57 +1000 Subject: [PATCH] chore: reorganise nix files into base dir --- nix/flake.lock => flake.lock | 0 nix/flake.nix => flake.nix | 2 +- nix/configuration.nix => hosts/nixos-common.nix | 0 {nix/hosts => hosts}/pluto/conf.nix | 0 {nix/hosts => hosts}/pluto/hardware-configuration.nix | 0 {nix/modules => modules}/applications.nix | 0 {nix/modules => modules}/boot.nix | 0 {nix/modules => modules}/firefox.nix | 0 {nix/modules => modules}/games.nix | 0 {nix/modules => modules}/hyprland.nix | 0 {nix/modules => modules}/shell.nix | 2 +- {nix/modules => modules}/stow.nix | 0 {nix/modules => modules}/users.nix | 0 13 files changed, 2 insertions(+), 2 deletions(-) rename nix/flake.lock => flake.lock (100%) rename nix/flake.nix => flake.nix (95%) rename nix/configuration.nix => hosts/nixos-common.nix (100%) rename {nix/hosts => hosts}/pluto/conf.nix (100%) rename {nix/hosts => hosts}/pluto/hardware-configuration.nix (100%) rename {nix/modules => modules}/applications.nix (100%) rename {nix/modules => modules}/boot.nix (100%) rename {nix/modules => modules}/firefox.nix (100%) rename {nix/modules => modules}/games.nix (100%) rename {nix/modules => modules}/hyprland.nix (100%) rename {nix/modules => modules}/shell.nix (94%) rename {nix/modules => modules}/stow.nix (100%) rename {nix/modules => modules}/users.nix (100%) diff --git a/nix/flake.lock b/flake.lock similarity index 100% rename from nix/flake.lock rename to flake.lock diff --git a/nix/flake.nix b/flake.nix similarity index 95% rename from nix/flake.nix rename to flake.nix index 442babd..8a48219 100644 --- a/nix/flake.nix +++ b/flake.nix @@ -10,7 +10,7 @@ nixosConfigurations.pluto = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ - ./configuration.nix + ./hosts/nixos-common.nix ./modules/shell.nix ./modules/users.nix diff --git a/nix/configuration.nix b/hosts/nixos-common.nix similarity index 100% rename from nix/configuration.nix rename to hosts/nixos-common.nix diff --git a/nix/hosts/pluto/conf.nix b/hosts/pluto/conf.nix similarity index 100% rename from nix/hosts/pluto/conf.nix rename to hosts/pluto/conf.nix diff --git a/nix/hosts/pluto/hardware-configuration.nix b/hosts/pluto/hardware-configuration.nix similarity index 100% rename from nix/hosts/pluto/hardware-configuration.nix rename to hosts/pluto/hardware-configuration.nix diff --git a/nix/modules/applications.nix b/modules/applications.nix similarity index 100% rename from nix/modules/applications.nix rename to modules/applications.nix diff --git a/nix/modules/boot.nix b/modules/boot.nix similarity index 100% rename from nix/modules/boot.nix rename to modules/boot.nix diff --git a/nix/modules/firefox.nix b/modules/firefox.nix similarity index 100% rename from nix/modules/firefox.nix rename to modules/firefox.nix diff --git a/nix/modules/games.nix b/modules/games.nix similarity index 100% rename from nix/modules/games.nix rename to modules/games.nix diff --git a/nix/modules/hyprland.nix b/modules/hyprland.nix similarity index 100% rename from nix/modules/hyprland.nix rename to modules/hyprland.nix diff --git a/nix/modules/shell.nix b/modules/shell.nix similarity index 94% rename from nix/modules/shell.nix rename to modules/shell.nix index ddf10c0..f58009e 100644 --- a/nix/modules/shell.nix +++ b/modules/shell.nix @@ -23,7 +23,7 @@ programs.nh = { enable = true; - flake = "/home/nico/dots/nix"; + flake = "/home/nico/dots"; }; programs.direnv = { diff --git a/nix/modules/stow.nix b/modules/stow.nix similarity index 100% rename from nix/modules/stow.nix rename to modules/stow.nix diff --git a/nix/modules/users.nix b/modules/users.nix similarity index 100% rename from nix/modules/users.nix rename to modules/users.nix