chore: update

This commit is contained in:
kp2pml30 2026-04-12 22:38:09 +09:00
parent eaccf45596
commit d3790a167b
No known key found for this signature in database
GPG key ID: 1739F9D8BA250D04
27 changed files with 715 additions and 229 deletions

29
nix/claude-vm/default.nix Normal file
View file

@ -0,0 +1,29 @@
{ pkgs, lib, ... }:
{
users.mutableUsers = false;
users.users.claude = {
isNormalUser = true;
extraGroups = [ "wheel" ];
shell = pkgs.fish;
hashedPassword = "";
};
users.users.root.hashedPassword = "";
security.sudo.wheelNeedsPassword = false;
programs.fish.enable = true;
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "yes";
PermitEmptyPasswords = "yes";
};
};
networking.firewall.allowedTCPPorts = [ 22 ];
nix.settings.trusted-users = [ "root" "claude" ];
}