mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: move my user as nixosModule
This commit is contained in:
parent
f8d1c51b95
commit
3e2e28aabf
4 changed files with 27 additions and 28 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue