nix: move my user as nixosModule

This commit is contained in:
Primrose 2024-07-18 23:36:27 +02:00
parent f8d1c51b95
commit 3e2e28aabf
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
4 changed files with 27 additions and 28 deletions

View file

@ -1,4 +1,4 @@
{ config, modulesPath, ... }:
{ modulesPath, ... }:
{
imports = [
@ -6,19 +6,5 @@
(modulesPath + "/installer/sd-card/sd-image-aarch64.nix")
];
users.groups.leana = { };
users.users.leana = {
isNormalUser = true;
home = "/home/leana";
description = "Leana";
group = "leana";
extraGroups = [
"wheel"
"docker"
"networkmanager"
];
openssh.authorizedKeys.keys = config.users.users.root.openssh.authorizedKeys.keys;
};
networking.wireless.enable = false;
}