feat(nixos): run Valheim in a guest

This commit was merged in pull request #37.
This commit is contained in:
2026-09-10 10:16:27 -04:00
parent 5758a781d8
commit 8bd9ff166e
6 changed files with 158 additions and 23 deletions

View File

@@ -42,6 +42,10 @@ in
users.groups.storage.gid = 10000;
security.sudo.extraConfig = ''
Defaults env_keep += "EDITOR VISUAL"
'';
time.timeZone = "America/New_York";
i18n.defaultLocale = "en_GB.UTF-8";
@@ -87,6 +91,10 @@ in
update = "sudo nixos-rebuild switch --flake .#${config.networking.hostName}";
cleanup = "sudo nix-collect-garbage -d";
sops-host = {
command = "sudo --preserve-env=EDITOR,VISUAL env SOPS_AGE_KEY_FILE=/var/lib/sops-nix/key.txt nix shell nixpkgs#sops nixpkgs#neovim -c sops";
abbreviation = false;
};
};
modules.shell.fish.enable = lib.mkDefault true;