diff --git a/modules/home/default.nix b/modules/home/default.nix index ebf0c98..9567d54 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -11,7 +11,7 @@ in { home-manager = { useGlobalPkgs = true; useUserPackages = true; - backupFileExtension = ".bak"; + backupFileExtension = "bak"; users = { "nyxerinys" = import ./nyxerinys; }; diff --git a/modules/home/nyxerinys/linux/hyprland.nix b/modules/home/nyxerinys/linux/hyprland.nix index 88ed93e..ec02d58 100644 --- a/modules/home/nyxerinys/linux/hyprland.nix +++ b/modules/home/nyxerinys/linux/hyprland.nix @@ -8,15 +8,22 @@ package = null; portalPackage = null; systemd.variables = ["--all"]; + extraLuaFiles = { + smw-setup = { + content = '' + local smw = require('plugins.split-monitor-workspaces') + smw.setup({ + workspace_count = 5 + }) + ''; + } + }; settings = { smw = { _var = (lib.generators.mkLuaInline "require('plugins.split-monitor-workspaces')"); }; }; extraConfig = '' - smw.setup({ - workspace_count = 5 - }) ''; }; } \ No newline at end of file