configurations for my servers and desktops
nix nixos flake dots dotfiles

chore: format

+33 -28
+10 -9
hosts/devins-5495/default.nix
··· 1 - { config, pkgs, ... }: 2 - 3 1 { 4 - imports = 5 - [ 6 - ./hardware.nix 7 - ./services/fwupd.nix 8 - ./services/ssh.nix 9 - ./services/tailscale.nix 10 - ]; 2 + config, 3 + pkgs, 4 + ... 5 + }: { 6 + imports = [ 7 + ./hardware.nix 8 + ./services/fwupd.nix 9 + ./services/ssh.nix 10 + ./services/tailscale.nix 11 + ]; 11 12 12 13 boot.loader.systemd-boot.enable = true; 13 14 boot.loader.efi.canTouchEfiVariables = true;
+23 -19
hosts/devins-5495/hardware.nix
··· 1 1 # Do not modify this file! It was generated by ‘nixos-generate-config’ 2 2 # and may be overwritten by future invocations. Please make changes 3 3 # to /etc/nixos/configuration.nix instead. 4 - { config, lib, pkgs, modulesPath, ... }: 5 - 6 4 { 7 - imports = 8 - [ (modulesPath + "/installer/scan/not-detected.nix") 9 - ]; 5 + config, 6 + lib, 7 + pkgs, 8 + modulesPath, 9 + ... 10 + }: { 11 + imports = [ 12 + (modulesPath + "/installer/scan/not-detected.nix") 13 + ]; 10 14 11 - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "sd_mod" "rtsx_pci_sdmmc" ]; 12 - boot.initrd.kernelModules = [ ]; 13 - boot.kernelModules = [ "kvm-amd" ]; 14 - boot.extraModulePackages = [ ]; 15 + boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "sd_mod" "rtsx_pci_sdmmc"]; 16 + boot.initrd.kernelModules = []; 17 + boot.kernelModules = ["kvm-amd"]; 18 + boot.extraModulePackages = []; 15 19 16 - fileSystems."/" = 17 - { device = "/dev/disk/by-uuid/b8e42c06-fd74-480f-bf5e-f67c05383227"; 18 - fsType = "ext4"; 19 - }; 20 + fileSystems."/" = { 21 + device = "/dev/disk/by-uuid/b8e42c06-fd74-480f-bf5e-f67c05383227"; 22 + fsType = "ext4"; 23 + }; 20 24 21 - fileSystems."/boot" = 22 - { device = "/dev/disk/by-uuid/83CD-DDA0"; 23 - fsType = "vfat"; 24 - options = [ "fmask=0077" "dmask=0077" ]; 25 - }; 25 + fileSystems."/boot" = { 26 + device = "/dev/disk/by-uuid/83CD-DDA0"; 27 + fsType = "vfat"; 28 + options = ["fmask=0077" "dmask=0077"]; 29 + }; 26 30 27 - swapDevices = [ ]; 31 + swapDevices = []; 28 32 29 33 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 30 34 hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;