HASH 5e49c5be0d09
DATE 2025-05-22
SUBJECT flake: pin nixpkgs, use home-manager 25.05
FILES 3 CHANGED
HASH 5e49c5be0d09
DATE 2025-05-22
SUBJECT flake: pin nixpkgs, use home-manager
25.05
FILES 3 CHANGED
┌─ flake.lock ───────────────────────────────────────────────────────────────┐
│ diff --git a/flake.lock b/flake.lock │
│ index 3de82b2..6b6aef0 100644 │
│ --- a/flake.lock │
│ +++ b/flake.lock │
│ @@ -407,15 +407,16 @@ │
│ ] │
│ }, │
│ "locked": { │
│ - "lastModified": 1747875884, │
│ - "narHash": "sha256-tdVx4kghhdy62LKuTnwE2RytOe8o88tah/yhpyuL0D4=", │
│ + "lastModified": 1747556831, │
│ + "narHash": "sha256-Qb84nbYFFk0DzFeqVoHltS2RodAYY5/HZQKE8WnBDsc=", │
│ "owner": "nix-community", │
│ "repo": "home-manager", │
│ - "rev": "f9186c64fcc6ee5f0114547acf9e814c806a640b", │
│ + "rev": "d0bbd221482c2713cccb80220f3c9d16a6e20a33", │
│ "type": "github" │
│ }, │
│ "original": { │
│ "owner": "nix-community", │
│ + "ref": "release-25.05", │
│ "repo": "home-manager", │
│ "type": "github" │
│ } │
│ @@ -834,7 +835,7 @@ │
│ "nix-darwin": { │
│ "inputs": { │
│ "nixpkgs": [ │
│ - "nixpkgs-darwin" │
│ + "nixpkgs" │
│ ] │
│ }, │
│ "locked": { │
│ @@ -912,22 +913,6 @@ │
│ "type": "github" │
│ } │
│ }, │
│ - "nixpkgs-darwin": { │
│ - "locked": { │
│ - "lastModified": 1743964447, │
│ - "narHash": "sha256-nEo1t3Q0F+0jQ36HJfbJtiRU4OI+/0jX/iITURKe3EE=", │
│ - "owner": "NixOS", │
│ - "repo": "nixpkgs", │
│ - "rev": "063dece00c5a77e4a0ea24e5e5a5bd75232806f8", │
│ - "type": "github" │
│ - }, │
│ - "original": { │
│ - "owner": "NixOS", │
│ - "repo": "nixpkgs", │
│ - "rev": "063dece00c5a77e4a0ea24e5e5a5bd75232806f8", │
│ - "type": "github" │
│ - } │
│ - }, │
│ "nixpkgs-lib": { │
│ "locked": { │
│ "lastModified": 1743296961, │
│ @@ -970,8 +955,8 @@ │
│ }, │
│ "original": { │
│ "owner": "NixOS", │
│ - "ref": "nixos-unstable", │
│ "repo": "nixpkgs", │
│ + "rev": "063dece00c5a77e4a0ea24e5e5a5bd75232806f8", │
│ "type": "github" │
│ } │
│ }, │
│ @@ -1095,7 +1080,6 @@ │
│ "nix-index-db": "nix-index-db", │
│ "nix-minecraft": "nix-minecraft", │
│ "nixpkgs": "nixpkgs_3", │
│ - "nixpkgs-darwin": "nixpkgs-darwin", │
│ "nvf": "nvf", │
│ "ookscraft": "ookscraft", │
│ "secrets": "secrets", │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ flake.lock ─────────────────────────┐
│ diff --git a/flake.lock b/flake.lock │
│ index 3de82b2..6b6aef0 100644 │
│ --- a/flake.lock │
│ +++ b/flake.lock │
│ @@ -407,15 +407,16 @@ │
│ ] │
│ }, │
│ "locked": { │
│ - "lastModified": 1747875884, │
│ - "narHash": "sha256-tdVx4kghhdy62LKu │
│ TnwE2RytOe8o88tah/yhpyuL0D4=", │
│ + "lastModified": 1747556831, │
│ + "narHash": "sha256-Qb84nbYFFk0DzFeq │
│ VoHltS2RodAYY5/HZQKE8WnBDsc=", │
│ "owner": "nix-community", │
│ "repo": "home-manager", │
│ - "rev": "f9186c64fcc6ee5f0114547acf9 │
│ e814c806a640b", │
│ + "rev": "d0bbd221482c2713cccb80220f3 │
│ c9d16a6e20a33", │
│ "type": "github" │
│ }, │
│ "original": { │
│ "owner": "nix-community", │
│ + "ref": "release-25.05", │
│ "repo": "home-manager", │
│ "type": "github" │
│ } │
│ @@ -834,7 +835,7 @@ │
│ "nix-darwin": { │
│ "inputs": { │
│ "nixpkgs": [ │
│ - "nixpkgs-darwin" │
│ + "nixpkgs" │
│ ] │
│ }, │
│ "locked": { │
│ @@ -912,22 +913,6 @@ │
│ "type": "github" │
│ } │
│ }, │
│ - "nixpkgs-darwin": { │
│ - "locked": { │
│ - "lastModified": 1743964447, │
│ - "narHash": "sha256-nEo1t3Q0F+0jQ36H │
│ JfbJtiRU4OI+/0jX/iITURKe3EE=", │
│ - "owner": "NixOS", │
│ - "repo": "nixpkgs", │
│ - "rev": "063dece00c5a77e4a0ea24e5e5a │
│ 5bd75232806f8", │
│ - "type": "github" │
│ - }, │
│ - "original": { │
│ - "owner": "NixOS", │
│ - "repo": "nixpkgs", │
│ - "rev": "063dece00c5a77e4a0ea24e5e5a │
│ 5bd75232806f8", │
│ - "type": "github" │
│ - } │
│ - }, │
│ "nixpkgs-lib": { │
│ "locked": { │
│ "lastModified": 1743296961, │
│ @@ -970,8 +955,8 @@ │
│ }, │
│ "original": { │
│ "owner": "NixOS", │
│ - "ref": "nixos-unstable", │
│ "repo": "nixpkgs", │
│ + "rev": "063dece00c5a77e4a0ea24e5e5a │
│ 5bd75232806f8", │
│ "type": "github" │
│ } │
│ }, │
│ @@ -1095,7 +1080,6 @@ │
│ "nix-index-db": "nix-index-db", │
│ "nix-minecraft": "nix-minecraft", │
│ "nixpkgs": "nixpkgs_3", │
│ - "nixpkgs-darwin": "nixpkgs-darwin", │
│ "nvf": "nvf", │
│ "ookscraft": "ookscraft", │
│ "secrets": "secrets", │
└──────────────────────────────────────────────┘
┌─ flake.nix ────────────────────────────────────────────────────────────────┐
│ diff --git a/flake.nix b/flake.nix │
│ index 75dde0a..b636922 100644 │
│ --- a/flake.nix │
│ +++ b/flake.nix │
│ @@ -8,14 +8,12 @@ │
│ }; │
│ │
│ inputs = { │
│ - nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; │
│ - │
│ - nixpkgs-darwin.url = "github:NixOS/nixpkgs/063dece00c5a77e4a0ea24e5e5a5bd7523 │
│ 2806f8"; │
│ + nixpkgs.url = "github:NixOS/nixpkgs/063dece00c5a77e4a0ea24e5e5a5bd75232806f8" │
│ ; │
│ systems.url = "github:nix-systems/default"; │
│ │
│ nix-darwin = { │
│ url = "github:nix-darwin/nix-darwin/nix-darwin-25.05"; │
│ - inputs.nixpkgs.follows = "nixpkgs-darwin"; │
│ + inputs.nixpkgs.follows = "nixpkgs"; │
│ }; │
│ │
│ flake-parts = { │
│ @@ -28,7 +26,7 @@ │
│ }; │
│ │
│ home-manager = { │
│ - url = "github:nix-community/home-manager"; │
│ + url = "github:nix-community/home-manager/release-25.05"; │
│ inputs.nixpkgs.follows = "nixpkgs"; │
│ }; │
│ │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ flake.nix ──────────────────────────┐
│ diff --git a/flake.nix b/flake.nix │
│ index 75dde0a..b636922 100644 │
│ --- a/flake.nix │
│ +++ b/flake.nix │
│ @@ -8,14 +8,12 @@ │
│ }; │
│ │
│ inputs = { │
│ - nixpkgs.url = "github:NixOS/nixpkgs/nix │
│ os-unstable"; │
│ - │
│ - nixpkgs-darwin.url = "github:NixOS/nixp │
│ kgs/063dece00c5a77e4a0ea24e5e5a5bd75232806f8 │
│ "; │
│ + nixpkgs.url = "github:NixOS/nixpkgs/063 │
│ dece00c5a77e4a0ea24e5e5a5bd75232806f8"; │
│ systems.url = "github:nix-systems/defau │
│ lt"; │
│ │
│ nix-darwin = { │
│ url = "github:nix-darwin/nix-darwin/n │
│ ix-darwin-25.05"; │
│ - inputs.nixpkgs.follows = "nixpkgs-dar │
│ win"; │
│ + inputs.nixpkgs.follows = "nixpkgs"; │
│ }; │
│ │
│ flake-parts = { │
│ @@ -28,7 +26,7 @@ │
│ }; │
│ │
│ home-manager = { │
│ - url = "github:nix-community/home-mana │
│ ger"; │
│ + url = "github:nix-community/home-mana │
│ ger/release-25.05"; │
│ inputs.nixpkgs.follows = "nixpkgs"; │
│ }; │
│ │
└──────────────────────────────────────────────┘
┌─ modules/darwin/system.nix ────────────────────────────────────────────────┐
│ diff --git a/modules/darwin/system.nix b/modules/darwin/system.nix │
│ index c382752..7bb83ae 100644 │
│ --- a/modules/darwin/system.nix │
│ +++ b/modules/darwin/system.nix │
│ @@ -6,6 +6,7 @@ │
│ inherit (config.ooknet.host) admin; │
│ in { │
│ system = { │
│ + primaryUser = admin.name; │
│ keyboard = { │
│ enableKeyMapping = true; │
│ }; │
│ @@ -49,7 +50,7 @@ in { │
│ # not sure this is still necessary at this point │
│ # meant to avoid the need to logout/restart │
│ # for changes to take effect │
│ - postUserActivation.text = '' │
│ + postActivation.text = '' │
│ /System/Library/PrivateFrameworks/SystemAdministration.framework/Resource │
│ s/activateSettings -u │
│ ''; │
│ }; │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ modules/darwin/system.nix ──────────┐
│ diff --git a/modules/darwin/system.nix b/mod │
│ ules/darwin/system.nix │
│ index c382752..7bb83ae 100644 │
│ --- a/modules/darwin/system.nix │
│ +++ b/modules/darwin/system.nix │
│ @@ -6,6 +6,7 @@ │
│ inherit (config.ooknet.host) admin; │
│ in { │
│ system = { │
│ + primaryUser = admin.name; │
│ keyboard = { │
│ enableKeyMapping = true; │
│ }; │
│ @@ -49,7 +50,7 @@ in { │
│ # not sure this is still necessary at │
│ this point │
│ # meant to avoid the need to logout/r │
│ estart │
│ # for changes to take effect │
│ - postUserActivation.text = '' │
│ + postActivation.text = '' │
│ /System/Library/PrivateFrameworks/S │
│ ystemAdministration.framework/Resources/acti │
│ vateSettings -u │
│ ''; │
│ }; │
└──────────────────────────────────────────────┘
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET