Pin hosts on urithiru for less building
This commit is contained in:
parent
9748828573
commit
3cec90e553
3 changed files with 8 additions and 4 deletions
6
flake.lock
generated
6
flake.lock
generated
|
@ -53,11 +53,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1618967915,
|
"lastModified": 1619060385,
|
||||||
"narHash": "sha256-+BYz6ihIzBDcXFTrPxBibQX0PYXjK42JX5XA6SFMxiI=",
|
"narHash": "sha256-4y/QSlmyIsMYP+g1mnZaBUTDED07wHPhtBdCjEnk0/A=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "5bc2962319ca6ccbd0033c95d3e00c9fde1b67ff",
|
"rev": "f2a3a0edab77d4c5cf67436912970e85a5c77b19",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
./modules
|
./modules
|
||||||
];
|
];
|
||||||
|
extraArgs = { nixosConfigurations = self.nixosConfigurations; };
|
||||||
};
|
};
|
||||||
hosts = {
|
hosts = {
|
||||||
kharbranth.modules = [ ./machines/kharbranth ];
|
kharbranth.modules = [ ./machines/kharbranth ];
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }:
|
{ lib, pkgs, nixosConfigurations, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -11,6 +11,9 @@
|
||||||
|
|
||||||
networking.hostId = "079e60ba";
|
networking.hostId = "079e60ba";
|
||||||
|
|
||||||
|
environment.etc = lib.mapAttrs' (n: v: { name = "pinned-hosts/${n}"; value = { source = v.config.system.build.toplevel.outPath; }; })
|
||||||
|
(lib.filterAttrs (n: _: n != "urithiru") nixosConfigurations);
|
||||||
|
|
||||||
chvp = {
|
chvp = {
|
||||||
stateVersion = "20.09";
|
stateVersion = "20.09";
|
||||||
accentor.enable = true;
|
accentor.enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue