fix: user issues

This commit is contained in:
Moritz Böhme 2025-03-31 08:39:21 +00:00
parent 74bf4b184d
commit 1f9002700d
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
4 changed files with 6 additions and 16 deletions

View file

@ -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 = [

View file

@ -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"