fix: user issues
This commit is contained in:
parent
74bf4b184d
commit
1f9002700d
4 changed files with 6 additions and 16 deletions
|
|
@ -5,18 +5,13 @@
|
|||
, ...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
let
|
||||
inherit (lib) getExe;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
inputs.home-manager.nixosModules.default
|
||||
];
|
||||
|
||||
users.users.moritz = {
|
||||
isNormalUser = true;
|
||||
home = "/home/moritz";
|
||||
extraGroups = [ "wheel" "networkmanager" "video" ];
|
||||
};
|
||||
|
||||
my = {
|
||||
nixpkgs = {
|
||||
overlays = [
|
||||
|
|
|
|||
|
|
@ -14,8 +14,9 @@
|
|||
|
||||
# generate a random password for our user below
|
||||
# can be read using `clan secrets get <machine-name>-user-password` command
|
||||
clan.user-password.user = "user";
|
||||
users.users.user = {
|
||||
clan.user-password.user = "moritz";
|
||||
|
||||
users.users.moritz = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue