feat(fruitbook): init

This commit is contained in:
2025-08-05 21:56:48 +00:00
parent eea4d34206
commit a1bb1ab419
9 changed files with 312 additions and 7 deletions

View File

@@ -3,7 +3,7 @@
isNormalUser = true;
# TODO: Don't hard-code `persist`. Use
# config.sydnix.impermanence.persistGroupName.
extraGroups = [ "wheel" "persist" "input" ];
extraGroups = [ "wheel" "persist" "input" "networkmanager" ];
initialHashedPassword =
"$y$j9T$aEFDDwdTZbAc6VQRXrkBJ0$K8wxTGTWDihyX1wxJ.ZMH//wmQFfrGGUkLkxIU0Lyq8";

View File

@@ -7,18 +7,26 @@ in lib.mkMerge [
# find them) and ~/private-keys (where humans will find them). Remember
# that private keys must always be linked with mutable symlinks as to not
# copy them into the world-readable Nix store!!
# home.file.".ssh/id_ed25519".source =
# mutableSymlink "/persist/private-keys/ssh/crumb-at-nixos-testbed";
# home.file."private-keys/ssh/crumb-at-nixos-testbed".source =
# mutableSymlink "/persist/private-keys/ssh/crumb-at-nixos-testbed";
home.file.".ssh/id_ed25519".source =
mutableSymlink "/persist/private-keys/ssh/crumb-at-nixos-testbed";
home.file."private-keys/ssh/crumb-at-nixos-testbed".source =
mutableSymlink "/persist/private-keys/ssh/crumb-at-nixos-testbed";
mutableSymlink "/persist/private-keys/ssh/msyds";
home.file."private-keys/ssh/msyds".source =
mutableSymlink "/persist/private-keys/ssh/msyds";
# Similarly, public keys are linked where SSH will find them as well as a
# human-friendly ~/public-keys.
# home.file.".ssh/id_ed25519.pub".source =
# ../../public-keys/ssh/crumb-at-nixos-testbed.pub;
# home.file."public-keys/ssh/crumb-at-nixos-testbed".source =
# ../../public-keys/ssh/crumb-at-nixos-testbed.pub;
home.file.".ssh/id_ed25519.pub".source =
../../public-keys/ssh/crumb-at-nixos-testbed.pub;
home.file."public-keys/ssh/crumb-at-nixos-testbed".source =
../../public-keys/ssh/crumb-at-nixos-testbed.pub;
../../public-keys/ssh/msyds.pub;
home.file."public-keys/ssh/msyds".source =
../../public-keys/ssh/msyds.pub;
}
{