diff --git a/nix/hosts/chaewon/sys.nix b/nix/hosts/chaewon/sys.nix index a4f1585..da8162b 100644 --- a/nix/hosts/chaewon/sys.nix +++ b/nix/hosts/chaewon/sys.nix @@ -1,13 +1,17 @@ { inputs, config, pkgs, lib, ... }: { imports = [ ./hw.nix ]; + time.timeZone = "America/New_York"; + # Generated by nixos-infect boot.tmp.cleanOnBoot = true; zramSwap.enable = true; networking.hostName = "chaewon-nixos-ash-1"; networking.domain = ""; services.openssh.enable = true; - users.users.root.openssh.authorizedKeys.keys = [''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBGpnPYxrYnmtFaf591Q80FQPb01dqTwlH58V6uRa7Fi'' ]; + users.users.root.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBGpnPYxrYnmtFaf591Q80FQPb01dqTwlH58V6uRa7Fi" + ]; # Generated by nixos-infect networking = { @@ -78,7 +82,9 @@ extraGroups = [ "wheel" "docker" ]; packages = with pkgs; [ ]; shell = pkgs.fish; - openssh.authorizedKeys.keys = [''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBGpnPYxrYnmtFaf591Q80FQPb01dqTwlH58V6uRa7Fi'']; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBGpnPYxrYnmtFaf591Q80FQPb01dqTwlH58V6uRa7Fi" + ]; }; programs.fish.enable = true; @@ -89,7 +95,14 @@ "files.priime.dev" = { forceSSL = true; enableACME = true; - locations."/" = { root = "/var/lib/files.priime.dev"; }; + locations."/" = { + root = "/var/lib/files.priime.dev"; + extraConfig = '' + autoindex on; + autoindex_exact_size off; + autoindex_localtime on; + ''; + }; }; }; };