all repos — nixfiles @ 0741f0290ee5e7082ff421921583ff9ad8ec6f1e

System and user configuration, managed by nix and home-manager

reformat all nix code

Alan Pearce
commit

0741f0290ee5e7082ff421921583ff9ad8ec6f1e

parent

83d9e0536997ccea2dde49e63d0f0f458f56ee61

1 file changed, 43 insertions(+), 12 deletions(-)

changed files
M system/prefect.nixsystem/prefect.nix
@@ -1,7 +1,9 @@
-{ config -, pkgs -, ... -}: { +{ + config, + pkgs, + ... +}: +{ imports = [ ./settings/base.nix ./settings/configuration/berlin.nix
@@ -66,16 +68,28 @@ boot.extraModulePackages = with config.boot.kernelPackages; [
zenpower ]; - boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" ]; + boot.initrd.availableKernelModules = [ + "nvme" + "xhci_pci" + "ahci" + "usbhid" + "sd_mod" + ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; - boot.initrd.supportedFilesystems = [ "xfs" "ext4" ]; + boot.initrd.supportedFilesystems = [ + "xfs" + "ext4" + ]; fileSystems = { "/" = { device = "/dev/disk/by-partlabel/nixos"; fsType = "xfs"; - options = [ "lazytime" "nodiscard" ]; + options = [ + "lazytime" + "nodiscard" + ]; }; "/boot" = {
@@ -86,13 +100,21 @@
"/home" = { device = "/dev/disk/by-partlabel/home"; fsType = "ext4"; - options = [ "lazytime" "nodiscard" ]; + options = [ + "lazytime" + "nodiscard" + ]; }; "/mnt/data" = { device = "/dev/disk/by-partlabel/data"; fsType = "ntfs3"; - options = [ "uid=1000" "gid=100" "x-systemd-automount" "nofail" ]; + options = [ + "uid=1000" + "gid=100" + "x-systemd-automount" + "nofail" + ]; }; };
@@ -145,8 +167,14 @@ interfaces.enp7s0 = {
useDHCP = true; }; hosts = { - "fd7a:115c:a1e0::53" = [ "tailscale" "ts" ]; - "::1" = [ "alanpearce.test" "alanpearce.localhost" ]; + "fd7a:115c:a1e0::53" = [ + "tailscale" + "ts" + ]; + "::1" = [ + "alanpearce.test" + "alanpearce.localhost" + ]; }; nftables = {
@@ -192,7 +220,10 @@ ''
]; boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; - nix.settings.trusted-users = [ "root" "nixremote" ]; + nix.settings.trusted-users = [ + "root" + "nixremote" + ]; services.displayManager.hiddenUsers = [ "nixremote" ]; users.users.nixremote = { shell = "/bin/sh";