You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
511 B
26 lines
511 B
{ pkgs, lib, config, ... }:
|
|
{
|
|
imports = [ ./packages.nix ];
|
|
|
|
users.mutableUsers = false;
|
|
users.users.layla = {
|
|
isNormalUser = true;
|
|
shell = pkgs.fish;
|
|
extraGroups = [
|
|
"wheel"
|
|
"video"
|
|
"audio"
|
|
];
|
|
passwordFile = config.sops.secrets.layla-password.path;
|
|
};
|
|
|
|
sops.secrets.layla-password = {
|
|
sopsFile = ../../secrets.yaml;
|
|
neededForUsers = true;
|
|
};
|
|
|
|
# Persist entire home
|
|
environment.persistence = {
|
|
"/persist".directories = [ "/home/layla" ];
|
|
};
|
|
}
|
|
|