summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.lock38
-rw-r--r--nixos/nix.nix11
2 files changed, 41 insertions, 8 deletions
diff --git a/flake.lock b/flake.lock
index 209bc6c..c0fa093 100644
--- a/flake.lock
+++ b/flake.lock
@@ -1,5 +1,19 @@
{
"nodes": {
+ "flake-utils": {
+ "locked": {
+ "lastModified": 1676283394,
+ "narHash": "sha256-XX2f9c3iySLCw54rJ/CZs+ZK6IQy7GXNY4nSOyu2QG4=",
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073",
+ "type": "github"
+ },
+ "original": {
+ "id": "flake-utils",
+ "type": "indirect"
+ }
+ },
"home-manager": {
"inputs": {
"nixpkgs": "nixpkgs",
@@ -20,14 +34,16 @@
},
"my-nixpkgs": {
"inputs": {
+ "flake-utils": "flake-utils",
+ "nixpkgs": "nixpkgs_2",
"nur": "nur"
},
"locked": {
- "lastModified": 1677605324,
- "narHash": "sha256-57tz2Zt37xnJAB4PGid3txzIcVhYrqZNPIrE7InlR6A=",
+ "lastModified": 1677675864,
+ "narHash": "sha256-8Bz+Wd/e/oSDJ7OIYGt0/6nINXsj2/2PbrN5ZhOPa0k=",
"owner": "qaristote",
"repo": "my-nixpkgs",
- "rev": "ceb6a8075e1b6e1228b7c75a8da36ed520d32b5f",
+ "rev": "857b17aa02062cc3e036e4049e37c11eb1a7e707",
"type": "github"
},
"original": {
@@ -80,6 +96,20 @@
"type": "indirect"
}
},
+ "nixpkgs_3": {
+ "locked": {
+ "lastModified": 1677560409,
+ "narHash": "sha256-PIvUIsVNozPXe1FmNe9c6B8Febl3t9+51uBKMJ1Q8o0=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "9e56d6ec92c8fb4192f1392aa5c4101ad77f2070",
+ "type": "github"
+ },
+ "original": {
+ "id": "nixpkgs",
+ "type": "indirect"
+ }
+ },
"nur": {
"locked": {
"lastModified": 1677656154,
@@ -99,7 +129,7 @@
"home-manager": "home-manager",
"my-nixpkgs": "my-nixpkgs",
"nixos-hardware": "nixos-hardware",
- "nixpkgs": "nixpkgs_2"
+ "nixpkgs": "nixpkgs_3"
}
},
"utils": {
diff --git a/nixos/nix.nix b/nixos/nix.nix
index f8ee351..27198ac 100644
--- a/nixos/nix.nix
+++ b/nixos/nix.nix
@@ -1,4 +1,4 @@
-{ ... }:
+{ pkgs, ... }:
{
personal.nix = {
@@ -8,9 +8,12 @@
gc.enable = true;
};
- system.autoUpgrade.flags =
- let update-input = input: [ "--update-input" input ];
- in update-input "latitude-7490/nixpkgs" ++ update-input "latitude-7490/home-manager" ++ update-input "latitude-7490/nixos-hardware" ++ update-input "latitude-7490/my-nixpkgs";
+ system.autoUpgrade.flags = pkgs.personal.lib.updateInputFlags [
+ "latitude-7490/nixpkgs"
+ "latitude-7490/home-manager"
+ "latitude-7490/nixos-hardware"
+ "latitude-7490/my-nixpkgs"
+ ];
# make auto-upgrade service lightweight
systemd.services.nixos-upgrade.unitConfig = { CPUWeight = 1; };