From bf2392c65b6f859d8b2926ce1441b83919a8fab8 Mon Sep 17 00:00:00 2001 From: xezo360hye Date: Tue, 13 Aug 2024 22:52:21 +0300 Subject: [PATCH] refactor(home): move modules/{program}.nix to modules/{program}/default.nix --- home/common.nix | 6 +++--- home/maidena.nix | 4 ++-- home/modules/{firefox.nix => firefox/default.nix} | 0 home/modules/{hyprland.nix => hyprland/default.nix} | 0 home/modules/{neovim.nix => neovim/default.nix} | 0 home/modules/{nethack.nix => nethack/default.nix} | 0 home/modules/{plasma.nix => plasma/default.nix} | 2 +- 7 files changed, 6 insertions(+), 6 deletions(-) rename home/modules/{firefox.nix => firefox/default.nix} (100%) rename home/modules/{hyprland.nix => hyprland/default.nix} (100%) rename home/modules/{neovim.nix => neovim/default.nix} (100%) rename home/modules/{nethack.nix => nethack/default.nix} (100%) rename home/modules/{plasma.nix => plasma/default.nix} (98%) diff --git a/home/common.nix b/home/common.nix index 5e90172..de42d82 100644 --- a/home/common.nix +++ b/home/common.nix @@ -1,9 +1,9 @@ { pkgs, ... }: { imports = [ - ./modules/nethack.nix - ./modules/firefox.nix - ./modules/neovim.nix + ./modules/nethack/default.nix + ./modules/firefox/default.nix + ./modules/neovim/default.nix ]; programs = { diff --git a/home/maidena.nix b/home/maidena.nix index ee057a4..a539331 100644 --- a/home/maidena.nix +++ b/home/maidena.nix @@ -1,6 +1,6 @@ { imports = [ - ./modules/hyprland.nix - ./modules/plasma.nix + ./modules/hyprland/default.nix + ./modules/plasma/default.nix ]; } diff --git a/home/modules/firefox.nix b/home/modules/firefox/default.nix similarity index 100% rename from home/modules/firefox.nix rename to home/modules/firefox/default.nix diff --git a/home/modules/hyprland.nix b/home/modules/hyprland/default.nix similarity index 100% rename from home/modules/hyprland.nix rename to home/modules/hyprland/default.nix diff --git a/home/modules/neovim.nix b/home/modules/neovim/default.nix similarity index 100% rename from home/modules/neovim.nix rename to home/modules/neovim/default.nix diff --git a/home/modules/nethack.nix b/home/modules/nethack/default.nix similarity index 100% rename from home/modules/nethack.nix rename to home/modules/nethack/default.nix diff --git a/home/modules/plasma.nix b/home/modules/plasma/default.nix similarity index 98% rename from home/modules/plasma.nix rename to home/modules/plasma/default.nix index b4c3b40..d54f396 100644 --- a/home/modules/plasma.nix +++ b/home/modules/plasma/default.nix @@ -32,7 +32,7 @@ theme = "breeze-dark"; colorScheme = "BreezeDark"; lookAndFeel = "org.kde.breezedark.desktop"; - wallpaper = ../resources/wallpaper.png; + wallpaper = ../../resources/wallpaper.png; }; panels = [