hyprlock feature
This commit is contained in:
17
modules/features/hyprlock/default.nix
Normal file
17
modules/features/hyprlock/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
inputs,
|
||||
moduleWithSystem,
|
||||
...
|
||||
}: {
|
||||
flake.nixosModules.hyprlock = moduleWithSystem ({self', ...}: {
|
||||
environment.systemPackages = with self'.packages; [
|
||||
hyprock
|
||||
];
|
||||
});
|
||||
perSystem = {pkgs, ...}: {
|
||||
packages.hyprlock = inputs.wrappers.wrappers.hyprlock.wrap {
|
||||
inherit pkgs;
|
||||
"hyprlock.conf".path = ./hyprlock.conf;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user