summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/common.nix12
-rw-r--r--modules/nix.nix4
2 files changed, 8 insertions, 8 deletions
diff --git a/modules/common.nix b/modules/common.nix
index fb6479d..fcaf896 100644
--- a/modules/common.nix
+++ b/modules/common.nix
@@ -16,8 +16,6 @@
./nix-ld.nix
];
- boot.kernelPackages = pkgs.linuxPackages_latest;
-
services.envfs.enable = true;
virtualisation.libvirtd.enable = true;
@@ -36,11 +34,13 @@
};
};
- networking.hostName = me;
+ networking.hostName = me.name;
# use corsac dns server
- networking.nameservers = let
- corsacTailnet = "100.64.100.100";
- in [ corsacTailnet ];
+ networking.nameservers =
+ let
+ corsacTailnet = "100.64.100.100";
+ in
+ [ corsacTailnet ];
services.resolved.enable = true;
diff --git a/modules/nix.nix b/modules/nix.nix
index a96813b..0f4366a 100644
--- a/modules/nix.nix
+++ b/modules/nix.nix
@@ -38,7 +38,7 @@ in
# yes nix, i know my flake is dirty!!!
warn-dirty = false;
}
- (mkIf (me != "bismuth") bismuthCache)
+ (mkIf (me.name != "bismuth") bismuthCache)
];
distributedBuilds = true;
@@ -57,7 +57,7 @@ in
];
};
in
- lib.filter (m: m.hostName != me) [
+ lib.filter (m: m.hostName != me.name) [
{
hostName = tailnet "bismuth";
maxJobs = 32;