55 lines
1.4 KiB
Nix
Executable File
55 lines
1.4 KiB
Nix
Executable File
{
|
|
systemConfiguration = { config, ... }: {
|
|
isNormalUser = true;
|
|
# TODO: Don't hard-code `persist`. Use
|
|
# config.sydnix.impermanence.persistGroupName.
|
|
extraGroups = [ "wheel" "persist" "input" ];
|
|
initialHashedPassword =
|
|
"$y$j9T$aEFDDwdTZbAc6VQRXrkBJ0$K8wxTGTWDihyX1wxJ.ZMH//wmQFfrGGUkLkxIU0Lyq8";
|
|
|
|
openssh.authorizedKeys.keyFiles = [
|
|
../../public-keys/ssh/crumb-at-guix-rebound.pub
|
|
];
|
|
};
|
|
|
|
homeConfiguration = { config, lib, pkgs, ... }: {
|
|
imports = [
|
|
./files.nix
|
|
];
|
|
|
|
sydnix = {
|
|
gpg.enable = true;
|
|
xdg.enable = true;
|
|
slippi.enable = true;
|
|
sops = {
|
|
enable = true;
|
|
keyFile = "/persist/private-keys/age/${config.home.username}";
|
|
};
|
|
# Personal configurations.
|
|
users.crumb = {
|
|
age.enable = true;
|
|
bash.enable = true;
|
|
direnv.enable = true;
|
|
firefox.enable = true;
|
|
git.enable = true;
|
|
haskell.enable = true;
|
|
mpd.enable = true;
|
|
nvim.enable = true;
|
|
emacs.enable = true;
|
|
niri.enable = true;
|
|
waybar.enable = true;
|
|
discord.enable = true;
|
|
ghostty.enable = true;
|
|
readline.enable = true;
|
|
mumble.enable = true;
|
|
tf2.enable = true;
|
|
quake-live.enable = true;
|
|
};
|
|
steam.enable = true;
|
|
};
|
|
|
|
# Don't touch!
|
|
home.stateVersion = "18.09";
|
|
};
|
|
}
|