32 lines
651 B
Nix
Executable File
32 lines
651 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";
|
|
};
|
|
|
|
homeConfiguration = { config, lib, pkgs, ... }: {
|
|
imports = [ ./programs.nix ];
|
|
|
|
sydnix = {
|
|
sops = {
|
|
enable = true;
|
|
secrets = {
|
|
example-user-key = {};
|
|
};
|
|
};
|
|
};
|
|
|
|
home = {
|
|
packages = [
|
|
];
|
|
|
|
# Don't touch!
|
|
stateVersion = "18.09";
|
|
};
|
|
};
|
|
}
|