aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/darkstar/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/darkstar/default.nix')
-rw-r--r--hosts/darkstar/default.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/hosts/darkstar/default.nix b/hosts/darkstar/default.nix
index 337c113..fd6f52d 100644
--- a/hosts/darkstar/default.nix
+++ b/hosts/darkstar/default.nix
@@ -2,9 +2,10 @@
boot = {
initrd.kernelModules = [ "zfs" ];
kernel.sysctl = {
+ "kernel.hostname" = "darkstar.bitgnome.net";
"net.ipv4.ip_forward" = true;
};
- kernelPackages = pkgs.master.linuxPackages_6_14;
+ kernelPackages = pkgs.linuxPackages_6_18;
loader = {
efi = {
canTouchEfiVariables = true;
@@ -15,11 +16,12 @@
extraInstallCommands = ''
${pkgs.rsync}/bin/rsync -av --delete /efiboot/efi1/ /efiboot/efi2
'';
+ memtest86.enable = true;
};
timeout = 3;
};
supportedFilesystems = [ "zfs" ];
- zfs.package = pkgs.master.zfs;
+ zfs.package = pkgs.zfs_unstable;
};
environment.systemPackages = [
@@ -31,7 +33,7 @@
./hardware-configuration.nix
./services.nix
../common/core
- ../common/optional/services/asterisk.nix
+ #../common/optional/services/asterisk.nix
../common/optional/services/chrony.nix
../common/optional/services/dhcp.nix
../common/optional/services/nsd.nix
@@ -46,7 +48,6 @@
hostId = "f9ca5efe";
hostName = "darkstar";
#defaultGateway = "192.168.1.1";
- domain = "bitgnome.net";
interfaces = {
enp116s0 = {
ipv4.addresses = [
@@ -65,6 +66,9 @@
internalInterfaces = [ "enp116s0" ];
};
nftables.enable = true;
+ search = [
+ "bitgnome.net"
+ ];
useDHCP = false;
vlans = {
vlan201 = { id=201; interface="enp117s0"; };