From 78b50d4aaa174d7b4e3aa3b9a8d793951ee36117 Mon Sep 17 00:00:00 2001 From: Marty Sluijtman Date: Sat, 16 Dec 2023 20:40:03 +0100 Subject: [PATCH] Refactor --- default/default.nix | 12 ++++++++++++ flake.nix | 3 ++- modules/default.nix | 12 ------------ smol/default.nix | 7 +++++++ 4 files changed, 21 insertions(+), 13 deletions(-) create mode 100644 default/default.nix delete mode 100644 modules/default.nix create mode 100644 smol/default.nix diff --git a/default/default.nix b/default/default.nix new file mode 100644 index 0000000..caf59d7 --- /dev/null +++ b/default/default.nix @@ -0,0 +1,12 @@ +{...}:{ + imports = [ + ../modules/audio.nix + ../modules/font.nix + ../modules/nix-settings.nix + ../modules/nvidia.nix + ../modules/services.nix + ../modules/vim.nix + ../modules/xconfig.nix + ../modules/zsh.nix + ]; +} diff --git a/flake.nix b/flake.nix index c6657b1..888f1b4 100644 --- a/flake.nix +++ b/flake.nix @@ -3,7 +3,8 @@ outputs = _: { nixosModules = { - default = import ./modules; + default = import ./default; + smol = import ./smol; }; }; } diff --git a/modules/default.nix b/modules/default.nix deleted file mode 100644 index 4d8bcb4..0000000 --- a/modules/default.nix +++ /dev/null @@ -1,12 +0,0 @@ -{...}:{ - imports = [ - ./audio.nix - ./font.nix - ./nix-settings.nix - ./nvidia.nix - ./services.nix - ./vim.nix - ./xconfig.nix - ./zsh.nix - ]; -} diff --git a/smol/default.nix b/smol/default.nix new file mode 100644 index 0000000..dde1faa --- /dev/null +++ b/smol/default.nix @@ -0,0 +1,7 @@ +{...}:{ + imports = [ + ../modules/nix-settings.nix + ../modules/vim.nix + ../modules/zsh.nix + ]; +}