1
0
Fork 0
mirror of https://github.com/tboerger/nixos-config synced 2024-06-09 04:46:03 +02:00

chore(flake): use stable versions

This commit is contained in:
Thomas Boerger 2022-04-11 00:02:22 +02:00
parent edb0f50519
commit 09c5b19a0e
No known key found for this signature in database
GPG Key ID: 09745AFF9D63C79B
2 changed files with 53 additions and 29 deletions

View File

@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1643841757,
"narHash": "sha256-9tKhu4JzoZvustC9IEWK6wKcDhPLuK/ICbLgm8QnLnk=",
"lastModified": 1648942457,
"narHash": "sha256-i29Z1t3sVfCNfpp+KAfeExvpqHQSbLO1KWylTtfradU=",
"owner": "ryantm",
"repo": "agenix",
"rev": "a17d1f30550260f8b45764ddbd0391f4b1ed714a",
"rev": "0d5e59ed645e4c7b60174bc6f6aac6a203dc0b01",
"type": "github"
},
"original": {
@ -27,11 +27,11 @@
]
},
"locked": {
"lastModified": 1645244400,
"narHash": "sha256-o7KCd6ySFZ9/LbS62aTeuFmBWtP7Tt3Q3RcNjYgTgZU=",
"lastModified": 1649392573,
"narHash": "sha256-dCPEJZzExz2+i7AjUuViZUgHC+JXDlBBG/IzuSYWCh8=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "0232fe1b75e6d7864fd82b5c72f6646f87838fc3",
"rev": "f911ebbec927e8e9b582f2e32e2b35f730074cfc",
"type": "github"
},
"original": {
@ -42,27 +42,27 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1645013224,
"narHash": "sha256-b7OEC8vwzJv3rsz9pwnTX2LQDkeOWz2DbKypkVvNHXc=",
"lastModified": 1649537291,
"narHash": "sha256-V6VYIwTeI5BCfYK9f5EsMbjsjsis1rUDHMsaDbTvt+A=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "b66b39216b1fef2d8c33cc7a5c72d8da80b79970",
"rev": "715dc137b08213aabbbe0965b78ab938e5d8d3b7",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixpkgs-unstable",
"ref": "nixos-21.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nur": {
"locked": {
"lastModified": 1649019570,
"narHash": "sha256-99HAN9z7H6+6mlgKyJg6EsQPMbecC/RMDMD2OaR8Qi0=",
"lastModified": 1649616544,
"narHash": "sha256-ap2jAyuO4L3L9Lcps+5Z3dFWEVaVQ5K+S9llktEWZOo=",
"owner": "nix-community",
"repo": "NUR",
"rev": "ea7bb07da9fe8266808f9571ebf5ad009558b8b5",
"rev": "8b99063c43f918650827daa23a11203c70e8a328",
"type": "github"
},
"original": {
@ -76,7 +76,24 @@
"agenix": "agenix",
"homemanager": "homemanager",
"nixpkgs": "nixpkgs",
"nur": "nur"
"nur": "nur",
"unstable": "unstable"
}
},
"unstable": {
"locked": {
"lastModified": 1649408932,
"narHash": "sha256-JhTW1OtS5fACcRXLqcTTQyYO5vLkO+bceCqeRms13SY=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "42948b300670223ca8286aaf916bc381f66a5313",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
}
},

View File

@ -3,7 +3,11 @@
inputs = {
nixpkgs = {
url = "github:nixos/nixpkgs/nixpkgs-unstable";
url = "github:nixos/nixpkgs/nixos-21.11";
};
unstable = {
url = "github:nixos/nixpkgs/nixos-unstable";
};
nur = {
@ -23,6 +27,10 @@
outputs = { self, nur, ... }@inputs:
let
overlay-unstable = final: prev: {
unstable = inputs.unstable.legacyPackages.${prev.system};
};
sharedNixosConfiguration = { config, pkgs, ... }: {
nix = {
package = pkgs.nixFlakes;
@ -31,21 +39,19 @@
experimental-features = nix-command flakes
'';
settings = {
substituters = [
"https://cache.nixos.org"
"https://nix-community.cachix.org"
"https://nixpkgs.cachix.org"
"https://tboerger.cachix.org"
];
binaryCaches = [
"https://cache.nixos.org"
"https://nix-community.cachix.org"
"https://nixpkgs.cachix.org"
"https://tboerger.cachix.org"
];
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"nixpkgs.cachix.org-1:q91R6hxbwFvDqTSDKwDAV4T5PxqXGxswD8vhONFMeOE="
"tboerger.cachix.org-1:3Q1gyqgA9NsOshOgknDvc6fhA8gw0PFAf2qs5vJpeLU="
];
};
binaryCachePublicKeys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"nixpkgs.cachix.org-1:q91R6hxbwFvDqTSDKwDAV4T5PxqXGxswD8vhONFMeOE="
"tboerger.cachix.org-1:3Q1gyqgA9NsOshOgknDvc6fhA8gw0PFAf2qs5vJpeLU="
];
gc = {
automatic = true;
@ -63,6 +69,7 @@
overlays = [
self.overlay
nur.overlay
overlay-unstable
];
};
};