From 5ddc4e44218dbdc0266f2f2cf9b8f891946e669f Mon Sep 17 00:00:00 2001 From: ficache <dixxe.mail@proton.me> Date: Sun, 10 Nov 2024 15:05:34 +0300 Subject: [PATCH] hm clean up --- home-manager/home.nix | 3 +-- home-manager/modules/bundle.nix | 9 --------- home-manager/your_modules.nix | 9 +++++++++ nixos/configuration.nix | 5 +---- nixos/user_modules.nix | 14 +++++++++----- 5 files changed, 20 insertions(+), 20 deletions(-) delete mode 100644 home-manager/modules/bundle.nix create mode 100644 home-manager/your_modules.nix diff --git a/home-manager/home.nix b/home-manager/home.nix index 0ca0c48..e8f96d6 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -1,9 +1,8 @@ { imports = [ - ./modules/bundle.nix ./package-groups/bundle.nix - # ./your-variables.nix + ./your-modules.nix ./your-packages.nix ]; diff --git a/home-manager/modules/bundle.nix b/home-manager/modules/bundle.nix deleted file mode 100644 index 60958ca..0000000 --- a/home-manager/modules/bundle.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ - imports = [ - ./defaultGtk.nix - ./git.nix - ./nixvim/nixvim.nix - ./stylix.nix - ./syncthing.nix - ]; -} diff --git a/home-manager/your_modules.nix b/home-manager/your_modules.nix new file mode 100644 index 0000000..ea29c03 --- /dev/null +++ b/home-manager/your_modules.nix @@ -0,0 +1,9 @@ +{ + imports = [ + ./modules/defaultGtk.nix + ./modules/git.nix + ./modules/nixvim/nixvim.nix + ./modules/stylix.nix + ./modules/syncthing.nix + ]; +} diff --git a/nixos/configuration.nix b/nixos/configuration.nix index d99e51d..05a00bc 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -8,12 +8,9 @@ [ # Include the results of the hardware scan. ./hardware-configuration.nix ./modules/minimal/bundle.nix # minimal bundle to run pc + ./user_modules.nix - - ./modules/hardware/nvidia.nix - ./modules/hardware/battery-threshold.nix ./system-packages.nix - ./modules/desktop-enviroments/plasma6.nix ]; disabledModules = [ diff --git a/nixos/user_modules.nix b/nixos/user_modules.nix index 319c437..da6ac1c 100644 --- a/nixos/user_modules.nix +++ b/nixos/user_modules.nix @@ -1,8 +1,12 @@ { imports = [ - ./gaming-tweaks.nix - ./pipewire.nix - ./auto-cpufreq.nix - ./privoxy.nix + ./modules/gaming-tweaks.nix + ./modules/pipewire.nix + ./modules/auto-cpufreq.nix + ./modules/privoxy.nix + + ./modules/hardware/nvidia.nix + ./modules/hardware/battery-threshold.nix + ./modules/desktop-enviroments/plasma6.nix ]; -} \ No newline at end of file +}