Files
sydnix/users/crumb/default.nix
Madeleine Sydney d336291ac9 feat: MPD
2025-01-02 02:20:06 -07:00

49 lines
1.1 KiB
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";
};
homeConfiguration = { config, lib, pkgs, ... }: {
imports = [
./programs.nix
./files.nix
];
sydnix = {
sops = {
enable = true;
keyFile = "/persist/user-files/${config.home.username}/key.txt";
secrets = {
lastfm-password = {};
librefm-password = {};
};
};
mpd = {
enable = true;
scrobbling.endpoints = {
"last.fm" = {
passwordFile = config.sydnix.sops.secrets.lastfm-password.path;
username = "crumb1";
};
"libre.fm" = {
passwordFile = config.sydnix.sops.secrets.librefm-password.path;
username = "crumbtoo";
};
};
};
};
home.packages = [
];
# Don't touch!
home.stateVersion = "18.09";
};
}