From 6ba4c55398404c1f691095967f3afca5e3209c89 Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Sat, 22 Mar 2025 18:50:13 +0100 Subject: nixos: split nix and system --- nixos/nix.nix | 31 +------------------------------ 1 file changed, 1 insertion(+), 30 deletions(-) (limited to 'nixos/nix.nix') diff --git a/nixos/nix.nix b/nixos/nix.nix index e710c04..e0ad731 100644 --- a/nixos/nix.nix +++ b/nixos/nix.nix @@ -1,35 +1,6 @@ -{lib, ...}: { +{...}: { personal.nix = { enable = true; - 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"; gc.enable = true; - remoteBuilds = { - enable = true; - machines.hephaistos = { - enable = true; - domain = "local"; - speedFactor = 1; - require = false; - }; - }; - }; - - systemd.services.flake-update = { - preStart = lib.mkAfter '' - pushd /home/qaristote/code/nix/machines/precision-3571 - git status - popd - ''; - environment.HOME = "/root"; }; } -- cgit v1.2.3