From 771039f64d44a60f9691582fe559e26b431bbbe8 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 13 Dec 2025 15:19:21 -0800 Subject: remove abstractions for managing users --- profiles/users/fcuny.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 profiles/users/fcuny.nix (limited to 'profiles/users/fcuny.nix') diff --git a/profiles/users/fcuny.nix b/profiles/users/fcuny.nix new file mode 100644 index 0000000..1a2b490 --- /dev/null +++ b/profiles/users/fcuny.nix @@ -0,0 +1,24 @@ +{ pkgs, ... }: +{ + nix.settings.trusted-users = [ "fcuny" ]; + users.users.fcuny = { + uid = 1000; + shell = pkgs.fish; + isNormalUser = true; + hashedPassword = "$6$Llw8m62nKMLLN9mm$3.a4CKUFlqwkG8vjBryLlBNwTwgH63vpg2nhYwRoQzG76Q91vTXnlYDujS4G5yGrWoatkKZx5epCx4/NAvRh2/"; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi" + ]; + extraGroups = [ + "wheel" + ]; + }; + + home-manager.users.fcuny = { + home.username = "fcuny"; + userinfo = { + email = "franck@fcuny.net"; + fullName = "Franck Cuny"; + }; + }; +} -- cgit v1.2.3