Clean up
This commit is contained in:
parent
56b5e17d9c
commit
c60c1019d2
1 changed files with 19 additions and 17 deletions
|
@ -4,8 +4,10 @@ let
|
||||||
in {
|
in {
|
||||||
# Define a user account.
|
# Define a user account.
|
||||||
imports = [ ] ++ lib.optional (builtins.isString desktop) ./desktop.nix;
|
imports = [ ] ++ lib.optional (builtins.isString desktop) ./desktop.nix;
|
||||||
users.mutableUsers = false;
|
|
||||||
users.users.albert = {
|
users = {
|
||||||
|
mutableUsers = false;
|
||||||
|
users.albert = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Albert J. Copeland";
|
description = "Albert J. Copeland";
|
||||||
# video is required for the "light" command to work
|
# video is required for the "light" command to work
|
||||||
|
@ -17,12 +19,12 @@ in {
|
||||||
packages = [ pkgs.home-manager ];
|
packages = [ pkgs.home-manager ];
|
||||||
openssh.authorizedKeys.keyFiles = [ ../../../keys/ssh/keys.txt ];
|
openssh.authorizedKeys.keyFiles = [ ../../../keys/ssh/keys.txt ];
|
||||||
};
|
};
|
||||||
|
groups.albert = {
|
||||||
users.groups.albert = {
|
|
||||||
gid = 1000;
|
gid = 1000;
|
||||||
name = "albert";
|
name = "albert";
|
||||||
members = [ "albert" ];
|
members = [ "albert" ];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Make this user trusted
|
# Make this user trusted
|
||||||
nix.settings.trusted-users = [ "albert" ];
|
nix.settings.trusted-users = [ "albert" ];
|
||||||
|
|
Loading…
Reference in a new issue