From 824f144cf0e0caf129cca8495a990ab99fffc045 Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Sat, 22 Mar 2025 20:13:44 +0100 Subject: split nix and system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Flake lock file updates: • Updated input 'my-nixpkgs': 'github:qaristote/my-nixpkgs/65eb03f15116223871d06254dc453abc79bcffaa' (2025-03-18) → 'github:qaristote/my-nixpkgs/f2e0f4c86f3318cc6df018b1948dd5bade77f082' (2025-03-22) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/4f4d97d7b7be387286cc9c988760a7ebaa5be1f1' (2025-03-17) → 'github:NixOS/nixos-hardware/380ed15bcd6440606c6856db44a99140d422b46f' (2025-03-22) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/a1185f4064c18a5db37c5c84e5638c78b46e3341' (2025-03-16) → 'github:NixOS/nixpkgs/7105ae3957700a9646cc4b766f5815b23ed0c682' (2025-03-20) --- config/default.nix | 1 + config/nix.nix | 3 --- config/system.nix | 6 ++++++ flake.lock | 18 +++++++++--------- 4 files changed, 16 insertions(+), 12 deletions(-) create mode 100644 config/system.nix diff --git a/config/default.nix b/config/default.nix index 3d511f9..9a38757 100644 --- a/config/default.nix +++ b/config/default.nix @@ -8,6 +8,7 @@ ./networking.nix ./nix.nix ./services + ./system.nix ./users.nix ]; diff --git a/config/nix.nix b/config/nix.nix index 912ee0d..26aa000 100644 --- a/config/nix.nix +++ b/config/nix.nix @@ -1,14 +1,11 @@ {...}: { personal.nix = { enable = true; - autoUpgrade.enable = true; gc.enable = true; - flake = "git+file:///etc/nixos/"; }; nix.settings.max-jobs = 4; nixpkgs.flake = { setNixPath = true; setFlakeRegistry = true; }; - system.autoUpgrade.dates = "12:30"; } diff --git a/config/system.nix b/config/system.nix new file mode 100644 index 0000000..5a568a2 --- /dev/null +++ b/config/system.nix @@ -0,0 +1,6 @@ +{...}: { + personal.system = { + flake = "git+file:///etc/nixos/"; + autoUpgrade.enable = true; + }; +} diff --git a/flake.lock b/flake.lock index d0cdf4b..ced1347 100644 --- a/flake.lock +++ b/flake.lock @@ -46,11 +46,11 @@ "nur": "nur" }, "locked": { - "lastModified": 1742280726, - "narHash": "sha256-OEr0CwQcoEIa7Z5GeGR2xfb+22v2Mwda/AptjZmYfXQ=", + "lastModified": 1742674157, + "narHash": "sha256-415weJqfWn5SJ3LbBIgD6ZKq0wE9OOgr0rYtgAlWLu0=", "owner": "qaristote", "repo": "my-nixpkgs", - "rev": "65eb03f15116223871d06254dc453abc79bcffaa", + "rev": "f2e0f4c86f3318cc6df018b1948dd5bade77f082", "type": "github" }, "original": { @@ -61,11 +61,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1742217307, - "narHash": "sha256-3fwpN7KN226ghLlpO9TR0/WpgQOmOj1e8bieUxpIYSk=", + "lastModified": 1742631601, + "narHash": "sha256-yJ3OOAmsGAxSl0bTmKUp3+cEYtSS+V6hUPK2rYhIPr8=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "4f4d97d7b7be387286cc9c988760a7ebaa5be1f1", + "rev": "380ed15bcd6440606c6856db44a99140d422b46f", "type": "github" }, "original": { @@ -120,11 +120,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1742136038, - "narHash": "sha256-DDe16FJk18sadknQKKG/9FbwEro7A57tg9vB5kxZ8kY=", + "lastModified": 1742512142, + "narHash": "sha256-8XfURTDxOm6+33swQJu/hx6xw1Tznl8vJJN5HwVqckg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "a1185f4064c18a5db37c5c84e5638c78b46e3341", + "rev": "7105ae3957700a9646cc4b766f5815b23ed0c682", "type": "github" }, "original": { -- cgit v1.2.3