diff --git a/flake.nix b/flake.nix index 681e324..1dc57a3 100755 --- a/flake.nix +++ b/flake.nix @@ -33,19 +33,22 @@ outputs = { self, home-manager, nixpkgs, nur, nixvim, stylix, ... }@inputs: let system = "x86_64-linux"; - pkgs = import nixpkgs { - inherit system; - overlays = [ (import ./overlay/overlay.nix) ]; - }; username = "pagedmov"; + nixpkgsConfig = { + allowUnfree = true; + }; in { - inherit pkgs; homeConfigurations = { - oganessonHome = home-manager.lib.homeManagerConfiguration { - inherit pkgs; + oganessonHome = let host = "oganesson"; in home-manager.lib.homeManagerConfiguration { + pkgs = import nixpkgs { + inherit system; + config = nixpkgsConfig; + overlays = [ + (import ./overlay/overlay.nix { inherit host; root = self; }) + ]; + }; extraSpecialArgs = { - host = "oganesson"; - inherit self username inputs; + inherit host self username inputs; }; modules = [ @@ -57,11 +60,16 @@ ]; }; - mercuryHome = home-manager.lib.homeManagerConfiguration { - inherit pkgs; + mercuryHome = let host = "mercury"; in home-manager.lib.homeManagerConfiguration { + pkgs = import nixpkgs { + inherit system; + config = nixpkgsConfig; + overlays = [ + (import ./overlay/overlay.nix { inherit host; root = self; }) + ]; + }; extraSpecialArgs = { - host = "mercury"; - inherit self username inputs; + inherit host self username inputs; }; modules = [ @@ -73,11 +81,16 @@ ]; }; - xenonHome = home-manager.lib.homeManagerConfiguration { - inherit pkgs; + xenonHome = let host = "xenon"; in home-manager.lib.homeManagerConfiguration { + pkgs = import nixpkgs { + inherit system; + config = nixpkgsConfig; + overlays = [ + (import ./overlay/overlay.nix { inherit host; root = self; }) + ]; + }; extraSpecialArgs = { - host = "xenon"; - inherit self username inputs; + inherit host self username inputs; }; modules = [ @@ -91,10 +104,15 @@ nixosConfigurations = { oganesson = nixpkgs.lib.nixosSystem { specialArgs = { - host = "oganesson"; inherit self inputs username; + host = "oganesson"; }; inherit system; + pkgs = import nixpkgs { + inherit system; + config = nixpkgsConfig; + overlays = []; + }; modules = [ ./hosts/desktop/config.nix ./modules/sys @@ -105,10 +123,15 @@ mercury = nixpkgs.lib.nixosSystem { specialArgs = { - host = "mercury"; inherit self inputs username; + host = "mercury"; }; inherit system; + pkgs = import nixpkgs { + inherit system; + config = nixpkgsConfig; + overlays = []; + }; modules = [ ./hosts/laptop/config.nix ./modules/sys @@ -119,10 +142,15 @@ xenon = nixpkgs.lib.nixosSystem { specialArgs = { - host = "xenon"; inherit self inputs username; + host = "xenon"; }; inherit system; + pkgs = import nixpkgs { + inherit system; + config = nixpkgsConfig; + overlays = []; + }; modules = [ ./hosts/server/config.nix ./modules/sys @@ -138,6 +166,11 @@ inherit self inputs; }; inherit system; + pkgs = import nixpkgs { + inherit system; + config = nixpkgsConfig; + overlays = []; + }; modules = [ ./hosts/installer nixvim.nixosModules.nixvim ]; }; }; diff --git a/hosts/desktop/home.nix b/hosts/desktop/home.nix index 0790fb2..9e17b19 100755 --- a/hosts/desktop/home.nix +++ b/hosts/desktop/home.nix @@ -48,14 +48,6 @@ passConfig.enable = true; batConfig.enable = true; }; - - # modules/home/scripts - movScripts = { - enable = true; - commandScripts.enable = true; - hyprlandControls.enable = true; - nixShortcuts.enable = true; - }; }; dconf.settings = { diff --git a/modules/home/default.nix b/modules/home/default.nix index b213758..14f4318 100755 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -1,3 +1,3 @@ { env, inputs, nixpkgs, config, self, username, host, lib, ... }: { - imports = [ ./programs ./environment ./scripts ./files.nix ]; + imports = [ ./programs ./environment ./files.nix ]; } diff --git a/modules/home/environment/userpkgs.nix b/modules/home/environment/userpkgs.nix index dfe64f6..3dc5163 100755 --- a/modules/home/environment/userpkgs.nix +++ b/modules/home/environment/userpkgs.nix @@ -16,6 +16,26 @@ let cp -r ${extraFigletFonts}/* $out/share/figlet ''; }); + scripts = with pkgs; [ + myScripts.icanhazip + myScripts.invoke + myScripts.runbg + myScripts.splash + myScripts.toolbelt + myScripts.viconf + myScripts.vipkg + myScripts.fetchfromgh + myScripts.garbage-collect + myScripts.nsp + myScripts.rebuild + myScripts.chpaper + myScripts.chscheme + myScripts.keyring + myScripts.mkscreenshots + myScripts.moveonscreen + myScripts.s_check + myScripts.switchmon + ]; in { options = { movOpts.envConfig.userPkgs.enable = @@ -47,6 +67,6 @@ in { toilet-extrafonts python3 chafa - ]; + ] ++ scripts; }; } diff --git a/modules/home/environment/zsh/extraconfig.nix b/modules/home/environment/zsh/extraconfig.nix index 7583516..991e879 100644 --- a/modules/home/environment/zsh/extraconfig.nix +++ b/modules/home/environment/zsh/extraconfig.nix @@ -18,10 +18,6 @@ runbg aplay "$1" fi } - grimblast() { - command grimblast "$@" - playshellsound ${self}/assets/sound/screenshot.wav - } ssh() { # reverts ssh theme upon returning command ssh "$@" kitty_ssh_theme @@ -33,6 +29,11 @@ kitty @ set-colors -a ~/.config/kitty/default-theme.conf fi } + grimblast() { + if grimblast "$@"; then + playshellsound ${self}/assets/sound/screenshot.wav + fi + } gitcheckout_sfx() { if git checkout "$@"; then playshellsound ${self}/assets/sound/gitcheckout.wav diff --git a/modules/home/scripts/default.nix b/modules/home/scripts/default.nix deleted file mode 100755 index 5288f63..0000000 --- a/modules/home/scripts/default.nix +++ /dev/null @@ -1,139 +0,0 @@ -{ host, lib, config, self, pkgs, ... }: -let - fetchfromgh = import ./nix/fetchfromgh.nix { inherit pkgs; }; - vipkg = import ./commands/vipkg.nix { inherit pkgs; }; - keyring = import ./wm-controls/keyring.nix { inherit pkgs; }; - invoke = import ./commands/invoke.nix { inherit pkgs; }; - splash = import ./commands/splash.nix { inherit pkgs; }; - runbg = import ./commands/runbg.nix { inherit pkgs; }; - icanhazip = import ./commands/icanhazip.nix { inherit pkgs; }; - garbage-collect = import ./nix/garbage-collect.nix { inherit pkgs; }; - nsp = import ./nix/nsp.nix { inherit pkgs; }; - scheck = import ./wm-controls/s_check.nix { inherit pkgs; }; - switchmon = import ./wm-controls/switchmon.nix { inherit pkgs; }; - rebuild = import ./nix/rebuild.nix { inherit host self pkgs; }; - moveonscreen = import ./wm-controls/moveonscreen.nix { inherit pkgs; }; - toolbelt = import ./commands/toolbelt.nix { inherit pkgs; }; - viconf = import ./commands/viconf.nix { inherit pkgs; }; - chscheme = import ./wm-controls/chscheme.nix { inherit pkgs; }; - chpaper = import ./wm-controls/chpaper.nix { inherit pkgs; }; - mkscreenshots = import ./wm-controls/mkscreenshots.nix { inherit pkgs; }; - scriptOverride = doc: group: name: - lib.mkEnableOption "${doc}" // { - default = config.movOpts.movScripts.enable - && config.movOpts.movScripts.${group}.enable; - }; -in { - options = { - movOpts.movScripts.enable = - lib.mkEnableOption "Enables all pagedmov's scripts"; - - # Enable or disable by group - movOpts.movScripts.commandScripts.enable = - lib.mkEnableOption "Enables all command scripts"; - movOpts.movScripts.hyprlandControls.enable = - lib.mkEnableOption "Enables all Hyprland control scripts"; - movOpts.movScripts.nixShortcuts.enable = - lib.mkEnableOption "Enables all Nix shortcut scripts"; - - # Command Scripts - movOpts.movScripts.commandScripts.vipkg.enable = scriptOverride - "Search through the nixpkgs/pkgs directory for a package derivation. Useful for overrides." - "commandScripts" "vipkg"; - movOpts.movScripts.commandScripts.icanhazip.enable = - scriptOverride "Enables the icanhazip command" "commandScripts" - "icanhazip"; - movOpts.movScripts.commandScripts.invoke.enable = - scriptOverride "Enables the invoke command" "commandScripts" "invoke"; - movOpts.movScripts.commandScripts.runbg.enable = - scriptOverride "Enables the runbg command - written by FrostPhoenix" - "commandScripts" "runbg"; - movOpts.movScripts.commandScripts.splash.enable = - scriptOverride "Enables the splash screen when opening a terminal" - "commandScripts" "splash"; - movOpts.movScripts.commandScripts.toolbelt.enable = - scriptOverride "Enables the toolbelt command" "commandScripts" "toolbelt"; - movOpts.movScripts.commandScripts.viconf.enable = - scriptOverride "Enables the viconf command" "commandScripts" "viconf"; - - # Hyprland Controls - movOpts.movScripts.hyprlandControls.chpaper.enable = - scriptOverride "Enables the chpaper command" "hyprlandControls" "chpaper"; - movOpts.movScripts.hyprlandControls.scheck.enable = - scriptOverride "Enables the scheck command" "hyprlandControls" "scheck"; - movOpts.movScripts.hyprlandControls.chscheme.enable = - scriptOverride "Enables the chscheme command" "hyprlandControls" - "chscheme"; - movOpts.movScripts.hyprlandControls.keyring.enable = - scriptOverride "Enables the keyring command" "hyprlandControls" "keyring"; - movOpts.movScripts.hyprlandControls.moveonscreen.enable = - scriptOverride "Ensures floating windows remain on screen" - "hyprlandControls" "moveonscreen"; - movOpts.movScripts.hyprlandControls.switchmon.enable = - scriptOverride "Moves cursor to the center of the second monitor" - "hyprlandControls" "switchmon"; - movOpts.movScripts.hyprlandControls.mkscreenshots.enable = scriptOverride - "Generates screenshots, and updates the README.md with the current rev hash" - "hyprlandControls" "switchmon"; - - # Nix Shortcuts - movOpts.movScripts.nixShortcuts.fetchfromgh.enable = scriptOverride - "Provides a full pkgs.fetchFromGitHub call from a repository url" - "nixShortcuts" "fetchfromgh"; - movOpts.movScripts.nixShortcuts.garbage-collect.enable = - scriptOverride "Enables the garbage-collect script" "nixShortcuts" - "garbage-collect"; - movOpts.movScripts.nixShortcuts.nsp.enable = - scriptOverride "Enables nsp as an alias for 'nix-shell -p'" "nixShortcuts" - "nsp"; - movOpts.movScripts.nixShortcuts.rebuild.enable = scriptOverride - "Enables rebuild as an alias for 'sudo nixos-rebuild switch'" - "nixShortcuts" "rebuild"; - }; - - config = lib.mkIf config.movOpts.movScripts.enable { - home.packages = - lib.optionals config.movOpts.movScripts.commandScripts.invoke.enable [ - invoke - ] - # Command Scripts Overrides - ++ lib.optionals config.movOpts.movScripts.commandScripts.vipkg.enable - [ vipkg ] - ++ lib.optionals config.movOpts.movScripts.commandScripts.runbg.enable - [ runbg ] - ++ lib.optionals config.movOpts.movScripts.commandScripts.icanhazip.enable - [ icanhazip ] - ++ lib.optionals config.movOpts.movScripts.commandScripts.splash.enable - [ splash ] - ++ lib.optionals config.movOpts.movScripts.commandScripts.toolbelt.enable - [ toolbelt ] - ++ lib.optionals config.movOpts.movScripts.commandScripts.viconf.enable [ - viconf - ] - - # Hyprland Controls Overrides - ++ lib.optionals config.movOpts.movScripts.hyprlandControls.chpaper.enable - [ chpaper ] - ++ lib.optionals config.movOpts.movScripts.hyprlandControls.scheck.enable - [ scheck ] ++ lib.optionals - config.movOpts.movScripts.hyprlandControls.chscheme.enable [ chscheme ] - ++ lib.optionals config.movOpts.movScripts.hyprlandControls.keyring.enable - [ keyring ] ++ lib.optionals - config.movOpts.movScripts.hyprlandControls.moveonscreen.enable - [ moveonscreen ] ++ lib.optionals - config.movOpts.movScripts.hyprlandControls.switchmon.enable [ switchmon ] - ++ lib.optionals - config.movOpts.movScripts.hyprlandControls.mkscreenshots.enable [ - mkscreenshots - ] - - # Nix Shortcuts Overrides - ++ lib.optionals config.movOpts.movScripts.nixShortcuts.fetchfromgh.enable - [ fetchfromgh ] ++ lib.optionals - config.movOpts.movScripts.nixShortcuts.garbage-collect.enable - [ garbage-collect ] - ++ lib.optionals config.movOpts.movScripts.nixShortcuts.nsp.enable [ nsp ] - ++ lib.optionals config.movOpts.movScripts.nixShortcuts.rebuild.enable - [ rebuild ]; - }; -} diff --git a/modules/sys/sysenv/nix.nix b/modules/sys/sysenv/nix.nix index 0f8e059..b1de146 100755 --- a/modules/sys/sysenv/nix.nix +++ b/modules/sys/sysenv/nix.nix @@ -5,7 +5,6 @@ }; config = lib.mkIf config.movOpts.sysEnv.nixSettings.enable { system.stateVersion = "24.05"; - nixpkgs.config.allowUnfree = true; nix = { settings = { auto-optimise-store = true; diff --git a/overlay/overlay.nix b/overlay/overlay.nix index 3a96145..185a31e 100644 --- a/overlay/overlay.nix +++ b/overlay/overlay.nix @@ -1,8 +1,30 @@ -self: super: { +{ host, root, ... }: self: super: +{ myPkgs = { # Packages that I've made tinyfetch = super.callPackage ./tinyfetch/package.nix {}; breezex-cursor = super.callPackage ./breezex-cursor/package.nix {}; check_updates = super.callPackage ./check_updates/package.nix {}; }; + myScripts = { + # Scripts written using pkgs.writeShellApplication + icanhazip = super.callPackage ./scripts/commands/icanhazip.nix { pkgs = super; }; + invoke = super.callPackage ./scripts/commands/invoke.nix { pkgs = super; }; + runbg = super.callPackage ./scripts/commands/runbg.nix { pkgs = super; }; + splash = super.callPackage ./scripts/commands/splash.nix { pkgs = super; }; + toolbelt = super.callPackage ./scripts/commands/toolbelt.nix { pkgs = super; }; + viconf = super.callPackage ./scripts/commands/viconf.nix { pkgs = super; }; + vipkg = super.callPackage ./scripts/commands/vipkg.nix { pkgs = super; }; + fetchfromgh = super.callPackage ./scripts/nix/fetchfromgh.nix { pkgs = super; }; + garbage-collect = super.callPackage ./scripts/nix/garbage-collect.nix { pkgs = super; }; + nsp = super.callPackage ./scripts/nix/nsp.nix { pkgs = super; }; + rebuild = super.callPackage ./scripts/nix/rebuild.nix { inherit host; self = root; pkgs = super; }; + chpaper = super.callPackage ./scripts/wm-controls/chpaper.nix { pkgs = super; }; + chscheme = super.callPackage ./scripts/wm-controls/chscheme.nix { pkgs = super; }; + keyring = super.callPackage ./scripts/wm-controls/keyring.nix { pkgs = super; }; + mkscreenshots = super.callPackage ./scripts/wm-controls/mkscreenshots.nix { pkgs = super; }; + moveonscreen = super.callPackage ./scripts/wm-controls/moveonscreen.nix { pkgs = super; }; + s_check = super.callPackage ./scripts/wm-controls/s_check.nix { pkgs = super; }; + switchmon = super.callPackage ./scripts/wm-controls/switchmon.nix { pkgs = super; }; + }; } diff --git a/modules/home/scripts/commands/icanhazip.nix b/overlay/scripts/commands/icanhazip.nix similarity index 100% rename from modules/home/scripts/commands/icanhazip.nix rename to overlay/scripts/commands/icanhazip.nix diff --git a/modules/home/scripts/commands/invoke.nix b/overlay/scripts/commands/invoke.nix similarity index 100% rename from modules/home/scripts/commands/invoke.nix rename to overlay/scripts/commands/invoke.nix diff --git a/modules/home/scripts/commands/runbg.nix b/overlay/scripts/commands/runbg.nix similarity index 100% rename from modules/home/scripts/commands/runbg.nix rename to overlay/scripts/commands/runbg.nix diff --git a/modules/home/scripts/commands/splash.nix b/overlay/scripts/commands/splash.nix similarity index 100% rename from modules/home/scripts/commands/splash.nix rename to overlay/scripts/commands/splash.nix diff --git a/modules/home/scripts/commands/toolbelt.nix b/overlay/scripts/commands/toolbelt.nix similarity index 100% rename from modules/home/scripts/commands/toolbelt.nix rename to overlay/scripts/commands/toolbelt.nix diff --git a/modules/home/scripts/commands/viconf.nix b/overlay/scripts/commands/viconf.nix similarity index 100% rename from modules/home/scripts/commands/viconf.nix rename to overlay/scripts/commands/viconf.nix diff --git a/modules/home/scripts/commands/vipkg.nix b/overlay/scripts/commands/vipkg.nix similarity index 100% rename from modules/home/scripts/commands/vipkg.nix rename to overlay/scripts/commands/vipkg.nix diff --git a/overlay/scripts/default.nix b/overlay/scripts/default.nix new file mode 100755 index 0000000..60211f7 --- /dev/null +++ b/overlay/scripts/default.nix @@ -0,0 +1,97 @@ +{ host, lib, config, self, pkgs, ... }: +let + fetchfromgh = import ./nix/fetchfromgh.nix { inherit pkgs; }; + vipkg = import ./commands/vipkg.nix { inherit pkgs; }; + keyring = import ./wm-controls/keyring.nix { inherit pkgs; }; + invoke = import ./commands/invoke.nix { inherit pkgs; }; + splash = import ./commands/splash.nix { inherit pkgs; }; + runbg = import ./commands/runbg.nix { inherit pkgs; }; + icanhazip = import ./commands/icanhazip.nix { inherit pkgs; }; + garbage-collect = import ./nix/garbage-collect.nix { inherit pkgs; }; + nsp = import ./nix/nsp.nix { inherit pkgs; }; + scheck = import ./wm-controls/s_check.nix { inherit pkgs; }; + switchmon = import ./wm-controls/switchmon.nix { inherit pkgs; }; + rebuild = import ./nix/rebuild.nix { inherit host self pkgs; }; + moveonscreen = import ./wm-controls/moveonscreen.nix { inherit pkgs; }; + toolbelt = import ./commands/toolbelt.nix { inherit pkgs; }; + viconf = import ./commands/viconf.nix { inherit pkgs; }; + chscheme = import ./wm-controls/chscheme.nix { inherit pkgs; }; + chpaper = import ./wm-controls/chpaper.nix { inherit pkgs; }; + mkscreenshots = import ./wm-controls/mkscreenshots.nix { inherit pkgs; }; + scriptList = [ + fetchfromgh + vipkg + keyring + invoke + splash + runbg + icanhazip + garbage-collect + nsp + scheck + switchmon + rebuild + moveonscreen + toolbelt + viconf + chscheme + chpaper + mkscreenshots + ]; + loadScript = scriptName: + lib.foldl' (acc: dir: + if builtins.pathExists "${dir}/${scriptName}.nix" + then acc // { inherit (import "${dir}/${scriptName}.nix" { inherit pkgs; }) scriptName; } + else acc + ) {} scriptList; +in { + options = { + movOpts.enabledScripts = + }; + + config = lib.mkIf config.movOpts.movScripts.enable { + home.packages = + lib.optionals config.movOpts.movScripts.commandScripts.invoke.enable [ + invoke + ] + # Command Scripts Overrides + ++ lib.optionals config.movOpts.movScripts.commandScripts.vipkg.enable + [ vipkg ] + ++ lib.optionals config.movOpts.movScripts.commandScripts.runbg.enable + [ runbg ] + ++ lib.optionals config.movOpts.movScripts.commandScripts.icanhazip.enable + [ icanhazip ] + ++ lib.optionals config.movOpts.movScripts.commandScripts.splash.enable + [ splash ] + ++ lib.optionals config.movOpts.movScripts.commandScripts.toolbelt.enable + [ toolbelt ] + ++ lib.optionals config.movOpts.movScripts.commandScripts.viconf.enable [ + viconf + ] + + # Hyprland Controls Overrides + ++ lib.optionals config.movOpts.movScripts.hyprlandControls.chpaper.enable + [ chpaper ] + ++ lib.optionals config.movOpts.movScripts.hyprlandControls.scheck.enable + [ scheck ] ++ lib.optionals + config.movOpts.movScripts.hyprlandControls.chscheme.enable [ chscheme ] + ++ lib.optionals config.movOpts.movScripts.hyprlandControls.keyring.enable + [ keyring ] ++ lib.optionals + config.movOpts.movScripts.hyprlandControls.moveonscreen.enable + [ moveonscreen ] ++ lib.optionals + config.movOpts.movScripts.hyprlandControls.switchmon.enable [ switchmon ] + ++ lib.optionals + config.movOpts.movScripts.hyprlandControls.mkscreenshots.enable [ + mkscreenshots + ] + + # Nix Shortcuts Overrides + ++ lib.optionals config.movOpts.movScripts.nixShortcuts.fetchfromgh.enable + [ fetchfromgh ] ++ lib.optionals + config.movOpts.movScripts.nixShortcuts.garbage-collect.enable + [ garbage-collect ] + ++ lib.optionals config.movOpts.movScripts.nixShortcuts.nsp.enable [ nsp ] + ++ lib.optionals config.movOpts.movScripts.nixShortcuts.rebuild.enable + [ rebuild ]; + }; +} diff --git a/modules/home/scripts/nix/fetchfromgh.nix b/overlay/scripts/nix/fetchfromgh.nix similarity index 100% rename from modules/home/scripts/nix/fetchfromgh.nix rename to overlay/scripts/nix/fetchfromgh.nix diff --git a/modules/home/scripts/nix/garbage-collect.nix b/overlay/scripts/nix/garbage-collect.nix similarity index 100% rename from modules/home/scripts/nix/garbage-collect.nix rename to overlay/scripts/nix/garbage-collect.nix diff --git a/modules/home/scripts/nix/nsp.nix b/overlay/scripts/nix/nsp.nix similarity index 100% rename from modules/home/scripts/nix/nsp.nix rename to overlay/scripts/nix/nsp.nix diff --git a/modules/home/scripts/nix/rebuild.nix b/overlay/scripts/nix/rebuild.nix similarity index 100% rename from modules/home/scripts/nix/rebuild.nix rename to overlay/scripts/nix/rebuild.nix diff --git a/modules/home/scripts/wm-controls/chpaper.nix b/overlay/scripts/wm-controls/chpaper.nix similarity index 100% rename from modules/home/scripts/wm-controls/chpaper.nix rename to overlay/scripts/wm-controls/chpaper.nix diff --git a/modules/home/scripts/wm-controls/chscheme.nix b/overlay/scripts/wm-controls/chscheme.nix similarity index 100% rename from modules/home/scripts/wm-controls/chscheme.nix rename to overlay/scripts/wm-controls/chscheme.nix diff --git a/modules/home/scripts/wm-controls/keyring.nix b/overlay/scripts/wm-controls/keyring.nix similarity index 100% rename from modules/home/scripts/wm-controls/keyring.nix rename to overlay/scripts/wm-controls/keyring.nix diff --git a/modules/home/scripts/wm-controls/mkscreenshots.nix b/overlay/scripts/wm-controls/mkscreenshots.nix similarity index 100% rename from modules/home/scripts/wm-controls/mkscreenshots.nix rename to overlay/scripts/wm-controls/mkscreenshots.nix diff --git a/modules/home/scripts/wm-controls/moveonscreen.nix b/overlay/scripts/wm-controls/moveonscreen.nix similarity index 100% rename from modules/home/scripts/wm-controls/moveonscreen.nix rename to overlay/scripts/wm-controls/moveonscreen.nix diff --git a/modules/home/scripts/wm-controls/s_check.nix b/overlay/scripts/wm-controls/s_check.nix similarity index 100% rename from modules/home/scripts/wm-controls/s_check.nix rename to overlay/scripts/wm-controls/s_check.nix diff --git a/modules/home/scripts/wm-controls/switchmon.nix b/overlay/scripts/wm-controls/switchmon.nix similarity index 100% rename from modules/home/scripts/wm-controls/switchmon.nix rename to overlay/scripts/wm-controls/switchmon.nix