Rebuilt nix files
This commit is contained in:
+291
-292
File diff suppressed because it is too large
Load Diff
@@ -1460,7 +1460,7 @@ The configuration is done in the home manager section.
|
|||||||
{ lib, config, pkgs, flakeRoot, ... }:
|
{ lib, config, pkgs, flakeRoot, ... }:
|
||||||
let
|
let
|
||||||
scriptPath = flakeRoot + "/assets/scripts/end_script.sh";
|
scriptPath = flakeRoot + "/assets/scripts/end_script.sh";
|
||||||
scriptExists = lib.fileExists scriptPath;
|
scriptExists = lib.systems.lib.fileExists scriptPath;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
systemd.user.services.endScript = lib.mkIf scriptExists {
|
systemd.user.services.endScript = lib.mkIf scriptExists {
|
||||||
@@ -1473,7 +1473,6 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Services
|
** Services
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{ lib, config, pkgs, flakeRoot, ... }:
|
{ lib, config, pkgs, flakeRoot, ... }:
|
||||||
let
|
let
|
||||||
scriptPath = flakeRoot + "/assets/scripts/end_script.sh";
|
scriptPath = flakeRoot + "/assets/scripts/end_script.sh";
|
||||||
scriptExists = lib.fileExists scriptPath;
|
scriptExists = lib.systems.lib.fileExists scriptPath;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
systemd.user.services.endScript = lib.mkIf scriptExists {
|
systemd.user.services.endScript = lib.mkIf scriptExists {
|
||||||
|
|||||||
Reference in New Issue
Block a user