wlogout temp feature (will be removed with quickshell update)
This commit is contained in:
22
modules/features/wlogout/default.nix
Normal file
22
modules/features/wlogout/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
inputs,
|
||||
moduleWithSystem,
|
||||
...
|
||||
}: {
|
||||
flake.nixosModules.wlogout = moduleWithSystem ({self', ...}: {
|
||||
environment.systemPackages = with self'.packages; [
|
||||
wlogout
|
||||
];
|
||||
});
|
||||
perSystem = {pkgs, ...}: {
|
||||
packages.wlogout = inputs.wrappers.lib.wrapPackage ({...}: {
|
||||
inherit pkgs;
|
||||
package = pkgs.wlogout;
|
||||
flags = {
|
||||
"--css" = ./style.css;
|
||||
"--layout" = ./layout;
|
||||
"--buttons-per-row" = "5";
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user