diff options
Diffstat (limited to 'nixos/system.nix')
| -rw-r--r-- | nixos/system.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixos/system.nix b/nixos/system.nix new file mode 100644 index 0000000..af7c5e3 --- /dev/null +++ b/nixos/system.nix @@ -0,0 +1,24 @@ +{lib, ...}: { + personal.system = { + autoUpgrade = { + enable = true; + autoUpdateInputs = [ + "precision-3571/home-manager" + "precision-3571/my-nixpkgs/nur" + "precision-3571/nixos-hardware" + "precision-3571/nixpkgs" + "precision-3571/stylix" + ]; + }; + flake = "git+file:///etc/nixos"; + }; + + systemd.services.flake-update = { + preStart = lib.mkAfter '' + pushd /home/qaristote/code/nix/machines/precision-3571 + git status + popd + ''; + environment.HOME = "/root"; + }; +} |
