{ config, ... }: let user = config.users.users.nick; in { imports = [ ../common (import ../configs/zsh { inherit user; }) (import ../configs/git { inherit user; }) (import ../configs/neovim { inherit user; }) (import ../configs/gpg-agent { inherit user; }) ]; sops.secrets.nick-password = { sopsFile = ./secrets/secrets.yaml; key = "password"; neededForUsers = true; }; users.users.nick = { isNormalUser = true; home = "/home/nick"; email = "nick@karaolidis.com"; fullName = "Nikolaos Karaolidis"; description = config.users.users.nick.fullName; hashedPasswordFile = config.sops.secrets.nick-password.path; extraGroups = [ "wheel" ]; linger = true; uid = 1000; }; home-manager.users.nick = { home.homeDirectory = config.users.users.nick.home; sops = { defaultSopsFile = ./secrets/secrets.yaml; secrets = { "git" = { path = "/home/nick/.git-credentials"; }; "gpg-agent/pgp.key" = { }; "gpg-agent/pgp.pass" = { }; }; }; }; }