From 5a074b7745b5855fd13ea53b21be7ea0d6497ffc Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Sat, 22 Mar 2025 18:57:19 +0100 Subject: nixos: split nix and system --- nixos/system.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 nixos/system.nix (limited to 'nixos/system.nix') diff --git a/nixos/system.nix b/nixos/system.nix new file mode 100644 index 0000000..afaaf62 --- /dev/null +++ b/nixos/system.nix @@ -0,0 +1,20 @@ +{...}: { + personal.system = { + autoUpgrade = { + enable = true; + autoUpdateInputs = [ + "latitude-7490/home-manager" + "latitude-7490/my-nixpkgs/nur" + "latitude-7490/nixos-hardware" + "latitude-7490/nixpkgs" + "latitude-7490/stylix" + ]; + }; + flake = "git+file:///etc/nixos"; + }; + systemd.services.flake-update.preStart = '' + pushd /home/qaristote/code/nix/machines/latitude-7490 + git status + popd + ''; +} -- cgit v1.2.3