35 lines
860 B
Nix
35 lines
860 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ../common ];
|
|
|
|
sops.secrets.nick-password = {
|
|
sopsFile = ./secrets/secrets.yaml;
|
|
key = "password";
|
|
neededForUsers = true;
|
|
};
|
|
|
|
home-manager.users.nick.sops = {
|
|
defaultSopsFile = ./secrets/secrets.yaml;
|
|
secrets = {
|
|
"git" = { path = "/home/nick/.git-credentials"; };
|
|
"gpg-agent/pgp.key" = { };
|
|
"gpg-agent/pgp.pass" = { };
|
|
};
|
|
};
|
|
|
|
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;
|
|
wallpaper = ./wallpapers/clouds.png;
|
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/seti.yaml";
|
|
};
|
|
}
|