diff options
| author | Mel <einebeere@gmail.com> | 2024-10-26 17:44:36 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-10-26 17:44:36 +0200 |
| commit | 1e0eca0bcbfc338a585842c65c4b48d62d79728d (patch) | |
| tree | 9ab21421d798f0812c966532d8c10bb5c8384e81 /modules/user.nix | |
| download | network-1e0eca0bcbfc338a585842c65c4b48d62d79728d.tar.zst network-1e0eca0bcbfc338a585842c65c4b48d62d79728d.zip | |
Glued together corsac configuration
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'modules/user.nix')
| -rw-r--r-- | modules/user.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/user.nix b/modules/user.nix new file mode 100644 index 0000000..2ca826b --- /dev/null +++ b/modules/user.nix @@ -0,0 +1,16 @@ +{ config, pkgs, security, ... }: + +{ + users.mutableUsers = false; + users.users.mel = { + isNormalUser = true; + description = "Mel"; + shell = pkgs.fish; + extraGroups = [ "networkmanager" "wheel" ]; + + hashedPassword = security.password; + openssh.authorizedKeys.keys = security.keys; + + packages = (with pkgs; []); + }; +} |
