Files
sydnix/users/crumb/default.nix
2025-03-07 13:58:20 -07:00

40 lines
979 B
Nix
Executable File

{
systemConfiguration = { config, ... }: {
isNormalUser = true;
# TODO: Don't hard-code `persist`. Use
# config.sydnix.impermanence.persistGroupName.
extraGroups = [ "wheel" "persist" ];
initialHashedPassword =
"$y$j9T$aEFDDwdTZbAc6VQRXrkBJ0$K8wxTGTWDihyX1wxJ.ZMH//wmQFfrGGUkLkxIU0Lyq8";
openssh.authorizedKeys.keyFiles = [
../../public-keys/ssh/crumb-at-guix-rebound.pub
];
};
homeConfiguration = { config, lib, pkgs, ... }: {
imports = [
./programs.nix
./files.nix
];
# Some unsorted settings:
xdg.enable = true;
# Not yet in my version of HM.
# xdg.preferXdgDirectories = true;
qt.style.name = "breeze-dark";
qt.style.package = pkgs.libsForQt5.breeze-qt5;
sydnix = {
gpg.enable = true;
sops = {
enable = true;
keyFile = "/persist/private-keys/age/${config.home.username}";
};
};
# Don't touch!
home.stateVersion = "18.09";
};
}