diff --git a/hosts/eustachius/default.nix b/hosts/eustachius/default.nix index ad5eda3..95538c4 100644 --- a/hosts/eustachius/default.nix +++ b/hosts/eustachius/default.nix @@ -1,11 +1,9 @@ { + config, pkgs, lib, ... }: { - imports = [ - ]; - # NixOS wants to enable GRUB by default boot.loader.grub.enable = false; # Enables the generation of /boot/extlinux/extlinux.conf @@ -69,30 +67,28 @@ settings.PermitRootLogin = "yes"; }; - services.restic.server.enable = true; - - services.tailscale = { - enable = true; - useRoutingFeatures = "server"; + # Some sample service. + # Use dnsmasq as internal LAN DNS resolver. + services.dnsmasq = { + enable = false; + settings.servers = ["8.8.8.8" "8.8.4.4" "1.1.1.1"]; + settings.extraConfig = '' + address=/fenrir.test/192.168.100.6 + address=/recalune.test/192.168.100.7 + address=/eth.nixpi.test/192.168.100.3 + address=/wlan.nixpi.test/192.168.100.4 + ''; }; - # # Some sample service. - # # Use dnsmasq as internal LAN DNS resolver. - # services.dnsmasq = { - # enable = false; - # settings.servers = ["8.8.8.8" "8.8.4.4" "1.1.1.1"]; - # settings.extraConfig = '' - # address=/fenrir.test/192.168.100.6 - # address=/recalune.test/192.168.100.7 - # address=/eth.nixpi.test/192.168.100.3 - # address=/wlan.nixpi.test/192.168.100.4 - # ''; - # }; - virtualisation.docker.enable = true; networking.firewall.enable = false; + # WiFi + hardware = { + enableRedistributableFirmware = true; + firmware = [pkgs.wireless-regdb]; + }; # Networking networking = { # useDHCP = true; @@ -123,15 +119,15 @@ users.groups = { nixos = { gid = 1000; - name = "ghoscht"; + name = "nixos"; }; }; users.users = { nixos = { uid = 1000; home = "/home/nixos"; - name = "ghoscht"; - group = "ghoscht"; + name = "nixos"; + group = "nixos"; extraGroups = ["wheel" "docker"]; }; };