about summary refs log tree commit diff
path: root/sys
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2021-01-03 07:10:38 +0000
committerAlyssa Ross <hi@alyssa.is>2021-01-03 07:10:38 +0000
commit32f5089ee9c4727d5d2a14baa9a503b5f227e69a (patch)
tree60342c7baa88a2edbfb45b5b3ce07baab9c4997f /sys
parent841b6e111cc117c0c9963bd0c28e458149663451 (diff)
downloadnixlib-32f5089ee9c4727d5d2a14baa9a503b5f227e69a.tar
nixlib-32f5089ee9c4727d5d2a14baa9a503b5f227e69a.tar.gz
nixlib-32f5089ee9c4727d5d2a14baa9a503b5f227e69a.tar.bz2
nixlib-32f5089ee9c4727d5d2a14baa9a503b5f227e69a.tar.lz
nixlib-32f5089ee9c4727d5d2a14baa9a503b5f227e69a.tar.xz
nixlib-32f5089ee9c4727d5d2a14baa9a503b5f227e69a.tar.zst
nixlib-32f5089ee9c4727d5d2a14baa9a503b5f227e69a.zip
modules/bitfolk: init
Diffstat (limited to 'sys')
-rw-r--r--sys/atuin.nix9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/atuin.nix b/sys/atuin.nix
index 986031f6a58f..8de5d0cb5392 100644
--- a/sys/atuin.nix
+++ b/sys/atuin.nix
@@ -3,6 +3,7 @@
 {
   imports = [
     ../modules/server
+    ../modules/server/bitfolk
     ../modules/server/dns
     ../modules/server/irc
     ../modules/server/cgit
@@ -15,8 +16,6 @@
     ../modules/users
   ];
 
-  boot.initrd.availableKernelModules = [ "xen_blkfront" ];
-
   fileSystems = {
     "/" = { device = "rpool/root"; fsType = "zfs"; neededForBoot = true; };
     "/boot" = { device = "/dev/disk/by-partlabel/boot"; fsType = "ext4"; };
@@ -27,8 +26,6 @@
     "/root" = { device = "rpool/home/root"; fsType = "zfs"; };
   };
 
-  systemd.enableEmergencyMode = false;
-
   boot.zfs.devNodes = "/dev";
 
   swapDevices = [
@@ -37,9 +34,6 @@
 
   nix.maxJobs = 2;
 
-  boot.loader.grub.enable = true;
-  boot.loader.grub.version = 2;
-  boot.loader.grub.device = "nodev";
   boot.loader.grub.configurationLimit = 2;
 
   boot.supportedFilesystems = [ "zfs" ];
@@ -57,7 +51,6 @@
   };
   networking.defaultGateway = "85.119.80.1";
   networking.defaultGateway6 = { address = "2001:ba8:1f1:f0bc::1"; };
-  networking.dhcpcd.enable = false;
 
   networking.firewall.allowedTCPPorts = [ 80 443 6697 ];
   networking.firewall.extraCommands = ''