hypr*: switch to upstream hm modules
This commit is contained in:
parent
db1ef4d418
commit
d7e3f642ae
3 changed files with 137 additions and 128 deletions
|
@ -1,7 +1,9 @@
|
||||||
_: {
|
{inputs, ...}: {
|
||||||
|
imports = [inputs.hyprlock.homeManagerModules.default];
|
||||||
|
disabledModules = ["${inputs.home-manager}/modules/programs/hyprlock.nix"];
|
||||||
|
|
||||||
programs.hyprlock = {
|
programs.hyprlock = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
|
||||||
backgrounds = let
|
backgrounds = let
|
||||||
verticalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle.png";
|
verticalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle.png";
|
||||||
horizontalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle2.png";
|
horizontalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle2.png";
|
||||||
|
@ -99,5 +101,4 @@ _: {
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,15 @@
|
||||||
{
|
{
|
||||||
|
inputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
imports = [inputs.hypridle.homeManagerModules.default];
|
||||||
|
disabledModules = ["${inputs.home-manager}/modules/services/hypridle.nix"];
|
||||||
|
|
||||||
services.hypridle = {
|
services.hypridle = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
|
||||||
ignoreDbusInhibit = false;
|
ignoreDbusInhibit = false;
|
||||||
lockCmd = lib.getExe config.programs.hyprlock.package;
|
lockCmd = lib.getExe config.programs.hyprlock.package;
|
||||||
beforeSleepCmd = "${pkgs.systemd}/bin/loginctl lock-session";
|
beforeSleepCmd = "${pkgs.systemd}/bin/loginctl lock-session";
|
||||||
|
@ -21,5 +24,4 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 = {
|
services.hyprpaper = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
|
||||||
ipc = true;
|
ipc = true;
|
||||||
splash = false;
|
splash = false;
|
||||||
preloads = [
|
preloads = [
|
||||||
|
@ -15,5 +22,4 @@ _: {
|
||||||
"DP-3,~/Pictures/wallpapers/sparkle3.png"
|
"DP-3,~/Pictures/wallpapers/sparkle3.png"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue