From 1e0eca0bcbfc338a585842c65c4b48d62d79728d Mon Sep 17 00:00:00 2001 From: Mel Date: Sat, 26 Oct 2024 17:44:36 +0200 Subject: Glued together corsac configuration Signed-off-by: Mel --- modules/user.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 modules/user.nix (limited to 'modules/user.nix') 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; []); + }; +} -- cgit 1.4.1