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 = {
|
||||
enable = true;
|
||||
settings = {
|
||||
backgrounds = let
|
||||
verticalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle.png";
|
||||
horizontalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle2.png";
|
||||
|
@ -99,5 +101,4 @@ _: {
|
|||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 @@
|
|||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue