.y
This commit is contained in:
+293
-292
File diff suppressed because it is too large
Load Diff
@@ -1448,7 +1448,7 @@ The configuration is done in the home manager section.
|
|||||||
XDG_SESSION_TYPE = "wayland";
|
XDG_SESSION_TYPE = "wayland";
|
||||||
XDG_CURRENT_DESKTOP = "Hyprland";
|
XDG_CURRENT_DESKTOP = "Hyprland";
|
||||||
XDG_SESSION_DESKTOP = "Hyprland";
|
XDG_SESSION_DESKTOP = "Hyprland";
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";exit
|
||||||
XCURSOR_SIZE = "24";
|
XCURSOR_SIZE = "24";
|
||||||
};
|
};
|
||||||
security.pam.services.hyprlock = { };
|
security.pam.services.hyprlock = { };
|
||||||
@@ -1462,7 +1462,7 @@ The configuration is done in the home manager section.
|
|||||||
{ lib, config, pkgs, ... }:
|
{ lib, config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
scriptPath = "${config.nixpkgs.config}/../assets/scripts/end_script.sh";
|
scriptPath = "${config.nixpkgs.config}/../assets/scripts/end_script.sh";
|
||||||
scriptExists = lib.fileExists "${scriptPath}";
|
scriptExists = builtins.pathExists scriptPath;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
systemd.user.services.endScript = lib.mkIf scriptExists {
|
systemd.user.services.endScript = lib.mkIf scriptExists {
|
||||||
@@ -1481,6 +1481,7 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Services
|
** Services
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
XDG_SESSION_TYPE = "wayland";
|
XDG_SESSION_TYPE = "wayland";
|
||||||
XDG_CURRENT_DESKTOP = "Hyprland";
|
XDG_CURRENT_DESKTOP = "Hyprland";
|
||||||
XDG_SESSION_DESKTOP = "Hyprland";
|
XDG_SESSION_DESKTOP = "Hyprland";
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";exit
|
||||||
XCURSOR_SIZE = "24";
|
XCURSOR_SIZE = "24";
|
||||||
};
|
};
|
||||||
security.pam.services.hyprlock = { };
|
security.pam.services.hyprlock = { };
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{ lib, config, pkgs, ... }:
|
{ lib, config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
scriptPath = "${config.nixpkgs.config}/../assets/scripts/end_script.sh";
|
scriptPath = "${config.nixpkgs.config}/../assets/scripts/end_script.sh";
|
||||||
scriptExists = lib.fileExists "${scriptPath}";
|
scriptExists = builtins.pathExists scriptPath;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
systemd.user.services.endScript = lib.mkIf scriptExists {
|
systemd.user.services.endScript = lib.mkIf scriptExists {
|
||||||
|
|||||||
Reference in New Issue
Block a user