move around users definition

This commit is contained in:
Yuka 2021-10-24 22:43:11 +02:00
parent 3c80614ee4
commit 8ac7010414
Signed by untrusted user: Yuka
GPG key ID: B95AE06334AFF6BA
3 changed files with 8 additions and 14 deletions

View file

@ -50,4 +50,11 @@
la = "exa -la";
tree = "exa -T";
};
users.mutableUsers = false;
users.users.c3h = {
isNormalUser = true;
password = "c3h";
extraGroups = [ "wheel" ];
};
}

View file

@ -21,13 +21,6 @@
"profiles/base.nix"
];
users.users.c3h = {
isNormalUser = true;
password = "c3h";
extraGroups = [ "wheel" ];
packages = with pkgs; [ chromium firefox mpv youtube-dl ];
};
networking.hostName = "bemmer";
networking.domain = "c3h";
networking.useDHCP = true;

View file

@ -1,13 +1,7 @@
{ pkgs, ... }:
{
users.mutableUsers = false;
users.users.c3h = {
isNormalUser = true;
password = "c3h";
extraGroups = [ "wheel" ];
packages = with pkgs; [ chromium firefox mpv youtube-dl ];
};
users.users.c3h.packages = with pkgs; [ chromium firefox mpv youtube-dl ];
services.xserver = {
enable = true;