From 7147b0dfe76a43d53e7ffba3e511350060270c39 Mon Sep 17 00:00:00 2001 From: Sebastian Moser Date: Wed, 17 Jul 2024 11:56:38 +0200 Subject: [PATCH] old home-manager and nixpkgs for rpi, because it boot hands with 24.05 --- flake.lock | 39 +++++++++++++++++++++++++++++++++++++++ flake.nix | 8 +++++++- 2 files changed, 46 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index 9103354..ec09055 100644 --- a/flake.lock +++ b/flake.lock @@ -1449,6 +1449,27 @@ "type": "github" } }, + "home-manager-old": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1719827415, + "narHash": "sha256-pvh+1hStXXAZf0sZ1xIJbWGx4u+OGBC1rVx6Wsw0fBw=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "f2e3c19867262dbe84fdfab42467fc8dd83a2005", + "type": "github" + }, + "original": { + "owner": "nix-community", + "ref": "release-23.11", + "repo": "home-manager", + "type": "github" + } + }, "home-manager_2": { "inputs": { "nixpkgs": [ @@ -2512,6 +2533,22 @@ "type": "github" } }, + "nixpkgs-old": { + "locked": { + "lastModified": 1720535198, + "narHash": "sha256-zwVvxrdIzralnSbcpghA92tWu2DV2lwv89xZc8MTrbg=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "205fd4226592cc83fd4c0885a3e4c9c400efabb5", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "release-23.11", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs-unstable": { "locked": { "lastModified": 1720031269, @@ -3591,6 +3628,7 @@ "firefox-addons": "firefox-addons", "flake-utils": "flake-utils_3", "home-manager": "home-manager", + "home-manager-old": "home-manager-old", "keyboard-config": "keyboard-config", "networkmanager": "networkmanager", "nix-doom-emacs": "nix-doom-emacs", @@ -3601,6 +3639,7 @@ "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs_4", "nixpkgs-for-bootstrap": "nixpkgs-for-bootstrap_2", + "nixpkgs-old": "nixpkgs-old", "nixpkgs-unstable": "nixpkgs-unstable", "nur": "nur", "podman": "podman", diff --git a/flake.nix b/flake.nix index 30cae4c..1fc6b33 100644 --- a/flake.nix +++ b/flake.nix @@ -7,6 +7,7 @@ #nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; + nixpkgs-old.url = "github:NixOS/nixpkgs/release-23.11"; nur.url = "github:nix-community/NUR"; @@ -22,6 +23,11 @@ inputs.nixpkgs.follows = "nixpkgs"; }; + home-manager-old = { + url = "github:nix-community/home-manager/release-23.11"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + nix-doom-emacs.url = "github:nix-community/nix-doom-emacs"; nix-index-database.url = "github:Mic92/nix-index-database"; @@ -322,7 +328,7 @@ }; # my server at home - "rpi" = nixpkgs.lib.nixosSystem rec { + "rpi" = inputs.nixpkgs-old.lib.nixosSystem rec { #inherit specialArgs; specialArgs = { inherit inputs confDir workDir secretsDir persistentDir self system; }; system = "aarch64-linux";