completely refactor and modularize flake
This commit is contained in:
parent
3b1ed7e281
commit
b7210fcf8e
141 changed files with 884 additions and 2605 deletions
11
modules/default/home-manager/desktop/hyprland/hyprexit.nix
Normal file
11
modules/default/home-manager/desktop/hyprland/hyprexit.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
{
|
||||
home-manager.users.willifan = {
|
||||
home.packages = lib.mkIf config.desktop.hyprexit.enable [
|
||||
(pkgs.writeShellScriptBin "hyprexit" ''
|
||||
${pkgs.hyprland}/bin/hyprctl dispatch exit
|
||||
${pkgs.systemd}/bin/loginctl terminate-user willifan
|
||||
'')
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue