This commit is contained in:
2026-03-04 14:59:37 +01:00
parent c9fad79b31
commit b809c9c18c
4 changed files with 298 additions and 296 deletions
+293 -292
View File
File diff suppressed because it is too large Load Diff
+3 -2
View File
@@ -1448,7 +1448,7 @@ The configuration is done in the home manager section.
XDG_SESSION_TYPE = "wayland";
XDG_CURRENT_DESKTOP = "Hyprland";
XDG_SESSION_DESKTOP = "Hyprland";
NIXOS_OZONE_WL = "1";
NIXOS_OZONE_WL = "1";exit
XCURSOR_SIZE = "24";
};
security.pam.services.hyprlock = { };
@@ -1462,7 +1462,7 @@ The configuration is done in the home manager section.
{ lib, config, pkgs, ... }:
let
scriptPath = "${config.nixpkgs.config}/../assets/scripts/end_script.sh";
scriptExists = lib.fileExists "${scriptPath}";
scriptExists = builtins.pathExists scriptPath;
in
{
systemd.user.services.endScript = lib.mkIf scriptExists {
@@ -1481,6 +1481,7 @@ in
'';
};
}
#+end_src
** Services
@@ -45,7 +45,7 @@
XDG_SESSION_TYPE = "wayland";
XDG_CURRENT_DESKTOP = "Hyprland";
XDG_SESSION_DESKTOP = "Hyprland";
NIXOS_OZONE_WL = "1";
NIXOS_OZONE_WL = "1";exit
XCURSOR_SIZE = "24";
};
security.pam.services.hyprlock = { };
+1 -1
View File
@@ -1,7 +1,7 @@
{ lib, config, pkgs, ... }:
let
scriptPath = "${config.nixpkgs.config}/../assets/scripts/end_script.sh";
scriptExists = lib.fileExists "${scriptPath}";
scriptExists = builtins.pathExists scriptPath;
in
{
systemd.user.services.endScript = lib.mkIf scriptExists {