hypr*: switch to upstream hm modules

This commit is contained in:
notohh 2024-05-13 11:13:29 -04:00
parent db1ef4d418
commit d7e3f642ae
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 137 additions and 128 deletions

View file

@ -1,7 +1,9 @@
_: {
{inputs, ...}: {
imports = [inputs.hyprlock.homeManagerModules.default];
disabledModules = ["${inputs.home-manager}/modules/programs/hyprlock.nix"];
programs.hyprlock = {
enable = true;
settings = {
backgrounds = let
verticalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle.png";
horizontalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle2.png";
@ -99,5 +101,4 @@ _: {
}
];
};
};
}

View file

@ -1,12 +1,15 @@
{
inputs,
pkgs,
lib,
config,
...
}: {
imports = [inputs.hypridle.homeManagerModules.default];
disabledModules = ["${inputs.home-manager}/modules/services/hypridle.nix"];
services.hypridle = {
enable = true;
settings = {
ignoreDbusInhibit = false;
lockCmd = lib.getExe config.programs.hyprlock.package;
beforeSleepCmd = "${pkgs.systemd}/bin/loginctl lock-session";
@ -21,5 +24,4 @@
}
];
};
};
}

View file

@ -1,7 +1,14 @@
_: {
{
inputs,
pkgs,
...
}: {
home.packages = [pkgs.hyprpaper];
imports = [inputs.hyprpaper.homeManagerModules.default];
disabledModules = ["${inputs.home-manager}/modules/services/hyprpaper.nix"];
services.hyprpaper = {
enable = true;
settings = {
ipc = true;
splash = false;
preloads = [
@ -15,5 +22,4 @@ _: {
"DP-3,~/Pictures/wallpapers/sparkle3.png"
];
};
};
}