diff --git a/base/programs.nix b/base/programs.nix index 0f82f19..f5667b0 100644 --- a/base/programs.nix +++ b/base/programs.nix @@ -21,7 +21,7 @@ inherit (pkgs) # shell usage - + bat fd file @@ -34,7 +34,7 @@ pciutils usbutils # development - + agenix alejandra git diff --git a/hosts/thanatos/disko-configuration.nix b/hosts/thanatos/disko-configuration.nix index 23357cd..81e9c36 100644 --- a/hosts/thanatos/disko-configuration.nix +++ b/hosts/thanatos/disko-configuration.nix @@ -27,15 +27,15 @@ subvolumes = { "/root" = { mountpoint = "/"; - mountOptions = ["compress=zstd" "noatime"]; + mountOptions = [ "compress=zstd" "noatime" ]; }; "/home" = { mountpoint = "/home"; - mountOptions = ["compress=zstd" "noatime"]; + mountOptions = [ "compress=zstd" "noatime" ]; }; "/nix" = { mountpoint = "/nix"; - mountOptions = ["compress=zstd" "noatime"]; + mountOptions = [ "compress=zstd" "noatime" ]; }; "/swap" = { mountpoint = "/.swapvol"; diff --git a/hosts/thanatos/hardware-configuration.nix b/hosts/thanatos/hardware-configuration.nix index f9e41a6..2ff30b0 100644 --- a/hosts/thanatos/hardware-configuration.nix +++ b/hosts/thanatos/hardware-configuration.nix @@ -1,21 +1,17 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ - config, - lib, - pkgs, - modulesPath, - ... -}: { - imports = [ - (modulesPath + "/installer/scan/not-detected.nix") - ]; +{ config, lib, pkgs, modulesPath, ... }: - boot.initrd.availableKernelModules = ["xhci_pci" "ehci_pci" "ahci" "usb_storage" "sd_mod" "sr_mod"]; - boot.initrd.kernelModules = []; - boot.kernelModules = ["kvm-intel"]; - boot.extraModulePackages = []; +{ + imports = + [ (modulesPath + "/installer/scan/not-detected.nix") + ]; + + boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "sd_mod" "sr_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's diff --git a/services/tailscale.nix b/services/tailscale.nix index b963b94..6de7cc0 100644 --- a/services/tailscale.nix +++ b/services/tailscale.nix @@ -17,7 +17,7 @@ in { options.my.services.tailscale = { enable = mkEnableOption "Tailscale"; useRoutingFeatures = mkOption { - type = types.enum ["none" "client" "server" "both"]; + type = types.enum [ "none" "client" "server" "both" ]; default = "none"; }; };