added swaylock config

This commit is contained in:
2024-10-18 08:03:39 -05:00
parent 20b5622296
commit 42b3bcbfa8
5 changed files with 197 additions and 178 deletions

View File

@@ -9,21 +9,29 @@
hmModule = { config, lib, pkgs, ... }: {
home.sessionVariables.NIX_OZONE_WL = "1";
options.homeconfig.hyprland.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
programs.kitty.enable = lib.mkDefault true;
config = lib.mkIf config.homeconfig.hyprland.enable {
home.packages = with pkgs; [
pyprland
];
home.sessionVariables.NIX_OZONE_WL = "1";
wayland.windowManager.hyprland = {
programs.kitty.enable = lib.mkDefault true;
enable = true;
home.packages = with pkgs; [
pyprland
];
systemd.variables = [ "--all" ];
wayland.windowManager.hyprland = {
};
enable = true;
systemd.variables = [ "--all" ];
};
};
};