Update pc to 22.11

This commit is contained in:
Natsu Kagami 2022-12-01 14:56:25 +01:00
parent a98a6a0319
commit 8a205202bf
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
2 changed files with 21 additions and 2 deletions

View file

@ -303,6 +303,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-2211": {
"locked": {
"lastModified": 1669834992,
"narHash": "sha256-YnhZGHgb4C3Q7DSGisO/stc50jFb9F/MzHeKS4giotg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "596a8e828c5dfa504f91918d0fa4152db3ab5502",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-22.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-mozilla": { "nixpkgs-mozilla": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -445,6 +461,7 @@
"nix-gaming": "nix-gaming", "nix-gaming": "nix-gaming",
"nixos-m1": "nixos-m1", "nixos-m1": "nixos-m1",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_3",
"nixpkgs-2211": "nixpkgs-2211",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"nur": "nur", "nur": "nur",
"rnix-lsp": "rnix-lsp", "rnix-lsp": "rnix-lsp",

View file

@ -3,6 +3,7 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.05"; nixpkgs.url = "github:nixos/nixpkgs/nixos-22.05";
nixpkgs-2211.url = "github:nixos/nixpkgs/nixos-22.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
darwin.url = "github:lnl7/nix-darwin/master"; darwin.url = "github:lnl7/nix-darwin/master";
darwin.inputs.nixpkgs.follows = "nixpkgs-unstable"; darwin.inputs.nixpkgs.follows = "nixpkgs-unstable";
@ -44,6 +45,7 @@
overlays = import ./overlay.nix inputs; overlays = import ./overlay.nix inputs;
pkgs' = system: import nixpkgs { inherit system overlays; config.allowUnfree = true; }; pkgs' = system: import nixpkgs { inherit system overlays; config.allowUnfree = true; };
pkgs-2211 = system: import inputs.nixpkgs-2211 { inherit system overlays; config.allowUnfree = true; };
pkgs-unstable = system: import nixpkgs-unstable { inherit system overlays; config.allowUnfree = true; }; pkgs-unstable = system: import nixpkgs-unstable { inherit system overlays; config.allowUnfree = true; };
nixpkgsAsRegistry_ = stable: { ... }: { nixpkgsAsRegistry_ = stable: { ... }: {
@ -107,9 +109,9 @@
}; };
# Home configuration # Home configuration
nixosConfigurations."nki-home" = nixpkgs.lib.nixosSystem rec { nixosConfigurations."nki-home" = inputs.nixpkgs-2211.lib.nixosSystem rec {
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = pkgs' system; pkgs = pkgs-2211 system;
modules = [ modules = [
./modules/my-tinc ./modules/my-tinc
sops-nix.nixosModules.sops sops-nix.nixosModules.sops