diff options
author | lassulus <git@lassul.us> | 2023-09-07 12:26:31 +0200 |
---|---|---|
committer | lassulus <git@lassul.us> | 2023-09-07 12:40:43 +0200 |
commit | 2e5167de1560ad0d7b8e294c72e1913f694160c2 (patch) | |
tree | b618daa9f125650e9276bae7848f854c48d6c95e /lass/2configs/rebuild-on-boot.nix | |
parent | 6a3a423dad19264c0c42821c7676e85ecc122d21 (diff) |
lass: migrate awayriplass
Diffstat (limited to 'lass/2configs/rebuild-on-boot.nix')
-rw-r--r-- | lass/2configs/rebuild-on-boot.nix | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lass/2configs/rebuild-on-boot.nix b/lass/2configs/rebuild-on-boot.nix deleted file mode 100644 index 60198be7b..000000000 --- a/lass/2configs/rebuild-on-boot.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ config, pkgs, ... }: -with import <stockholm/lib>; -{ - systemd.services.rebuild-on-boot = { - wantedBy = [ "multi-user.target" ]; - environment = { - NIX_REMOTE = "daemon"; - HOME = "/var/empty"; - }; - serviceConfig = { - ExecStart = pkgs.writeScript "rebuild" '' - #!${pkgs.bash}/bin/bash - (/run/current-system/sw/bin/nixos-rebuild -I /var/src switch) & - ''; - ExecStop = "${pkgs.coreutils}/bin/sleep 10"; - }; - }; -} |