soft coding

This commit is contained in:
2026-10-02 23:05:00 +03:00
parent c05cc88843
commit 958247b22c
13 changed files with 58 additions and 25 deletions
+2 -2
View File
@@ -11,13 +11,13 @@
description = "Prebuild NixOS closure";
serviceConfig = {
CPUQuota = "20%";
User = "oqyude";
User = xlib.device.username;
Group = "users";
Nice = 10;
Type = "oneshot";
WorkingDirectory = "/tmp";
Environment = [
"HOME=/home/oqyude"
"HOME=${xlib.dirs.user-home}"
];
ExecStart = ''
${pkgs.nix}/bin/nix build --no-link /etc/nixos#nixosConfigurations.${config.networking.hostName}.config.system.build.toplevel