diff --git a/options/custom/desktops/hyprland/binds.nix b/options/custom/desktops/hyprland/binds.nix index 2fb0337..4a35020 100644 --- a/options/custom/desktops/hyprland/binds.nix +++ b/options/custom/desktops/hyprland/binds.nix @@ -53,16 +53,6 @@ in { options.custom.desktops.hyprland.binds.enable = mkOption {default = false;}; config = mkIf cfg.enable { - age.secrets = let - secret = filename: { - file = "${inputs.self}/secrets/${filename}"; - owner = config.custom.username; - group = "users"; - }; - in { - "desktop/vm/myndows.pass" = secret "desktop/vm/myndows.pass"; - }; - home-manager.users.${config.custom.username} = { wayland.windowManager.hyprland.settings = let # Reverse mods and key for alphabetical sorting diff --git a/options/custom/settings/vm.nix b/options/custom/settings/vm.nix index 1e3a01c..73b1b66 100644 --- a/options/custom/settings/vm.nix +++ b/options/custom/settings/vm.nix @@ -27,6 +27,16 @@ in { }; config = mkIf cfg.enable { + age.secrets = let + secret = filename: { + file = "${inputs.self}/secrets/${filename}"; + owner = config.custom.username; + group = "users"; + }; + in { + "desktop/vm/myndows.pass" = secret "desktop/vm/myndows.pass"; + }; + virtualisation = { # https://wiki.nixos.org/wiki/Libvirt # https://libvirt.org