1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-23 03:32:08 +01:00
github.com-tboerger-nixos-c.../profiles/thomas/default.nix
2022-02-20 17:46:48 +01:00

51 lines
959 B
Nix

{ pkgs, inputs, system, lib, ... }:
let
username = "thomas";
fullname = "Thomas Boerger";
in
{
imports = [
../modules
];
my = {
username = "${username}";
modules = { };
};
users = {
users = {
"${username}" = {
description = "${fullname}";
shell = pkgs.zsh;
isNormalUser = true;
hashedPassword = "$6$yuwsoikF5utqohar$fdcvq0iXdmiioiRyBGeVZICzQm4nKlv6.pj9AWh13VRCsE07dN9StDnXV0aslIBb0SWRFC4dY5Um2MYiAMfmH0";
openssh = {
authorizedKeys = {
keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINaQYR0/Oj6k1H03kshz2J7rlGCaDSuaGPhhOs9FcZfn thomas@osiris"
];
};
};
extraGroups = [
"wheel"
];
};
};
};
home-manager.users."${username}" = { config, ... }: {
home = {
homeDirectory = "/home/${username}";
sessionPath = [
"$HOME/.local/bin"
];
};
};
}