This commit is contained in:
Sebastian Moser
2023-11-22 18:27:06 +01:00
parent 79f525022f
commit 50a59f1ed3
2 changed files with 26 additions and 0 deletions

17
flake.lock generated
View File

@@ -881,6 +881,22 @@
"type": "github"
}
},
"old-nixpkgs": {
"locked": {
"lastModified": 1688392541,
"narHash": "sha256-lHrKvEkCPTUO+7tPfjIcb7Trk6k31rz18vkyqmkeJfY=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ea4c80b39be4c09702b0cb3b42eab59e2ba4f24b",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "release-22.11",
"repo": "nixpkgs",
"type": "github"
}
},
"org": {
"flake": false,
"locked": {
@@ -994,6 +1010,7 @@
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_4",
"nixpkgs-for-bootstrap": "nixpkgs-for-bootstrap_2",
"old-nixpkgs": "old-nixpkgs",
"robotnix": "robotnix",
"rpi-nixpkgs": "rpi-nixpkgs"
}

View File

@@ -4,6 +4,7 @@
inputs = {
#nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs.url = "github:NixOS/nixpkgs/release-23.05";
old-nixpkgs.url = "github:NixOS/nixpkgs/release-22.11";
rpi-nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
@@ -176,7 +177,15 @@
home-manager.extraSpecialArgs = {
inherit self;
hostname = "phone";
#pkgs = old-nixpkgs.x86_64
pkgs = import inputs.old-nixpkgs { system = "aarch64-linux"; config = {
allowUnfree = true;
permittedInsecurePackages = [
"electron-24.8.6"
];
}; };
};
home-manager.useGlobalPkgs = true;
home-manager.config = {
home.stateVersion = "22.11";