diff --git a/home/desktop/power-profiles.nix b/home/desktop/power-profiles.nix deleted file mode 100644 index 502cb583..00000000 --- a/home/desktop/power-profiles.nix +++ /dev/null @@ -1 +0,0 @@ -with import { }; writeShellScriptBin "power-profiles" builtins.readFile ./scripts/power-profiles diff --git a/home/desktop/powermenu.nix b/home/desktop/powermenu.nix deleted file mode 100644 index a7a3b5ca..00000000 --- a/home/desktop/powermenu.nix +++ /dev/null @@ -1 +0,0 @@ -with import { }; writeShellScriptBin "powermenu" builtins.readFile ./scripts/powermenu diff --git a/home/desktop/rofi.nix b/home/desktop/rofi.nix index 466bf07b..9ba8760c 100644 --- a/home/desktop/rofi.nix +++ b/home/desktop/rofi.nix @@ -1,7 +1,11 @@ { pkgs, ... }: +let + powermenu = pkgs.writeShellScriptBin "powermenu" (builtins.readFile ./scripts/powermenu); + power-profiles = pkgs.writeShellScriptBin "power-profiles" (builtins.readFile ./scripts/power-profiles); +in { - imports = [ ./powermenu.nix ./power-profiles.nix ../gui/foot.nix ]; - home.packages = with pkgs; [ papirus-icon-theme ]; + imports = [ ../gui/foot.nix ]; + home.packages = with pkgs; [ papirus-icon-theme powermenu power-profiles ]; programs.rofi = { enable = true; location = "center";