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": {
|
||||
"locked": {
|
||||
"lastModified": 1618967915,
|
||||
"narHash": "sha256-+BYz6ihIzBDcXFTrPxBibQX0PYXjK42JX5XA6SFMxiI=",
|
||||
"lastModified": 1619060385,
|
||||
"narHash": "sha256-4y/QSlmyIsMYP+g1mnZaBUTDED07wHPhtBdCjEnk0/A=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "5bc2962319ca6ccbd0033c95d3e00c9fde1b67ff",
|
||||
"rev": "f2a3a0edab77d4c5cf67436912970e85a5c77b19",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
home-manager.nixosModules.home-manager
|
||||
./modules
|
||||
];
|
||||
extraArgs = { nixosConfigurations = self.nixosConfigurations; };
|
||||
};
|
||||
hosts = {
|
||||
kharbranth.modules = [ ./machines/kharbranth ];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ lib, pkgs, nixosConfigurations, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
@ -11,6 +11,9 @@
|
|||
|
||||
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 = {
|
||||
stateVersion = "20.09";
|
||||
accentor.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue