nixfiles/config/common/users/emily/default.nix
2024-02-14 21:40:07 +01:00

65 lines
1.4 KiB
Nix

{ config, pkgs, lib, inputs, ... }: {
imports = [
inputs.home-manager.nixosModules.home-manager
];
users.users.emily = {
isNormalUser = true;
shell = pkgs.fish;
extraGroups = [ "wheel" ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA/+iN407+HsfHbbC3tfdA8Yf4TZ08qXQMb4tb/SDAs+ emily@card"
];
};
home-manager.useGlobalPkgs = true;
home-manager.users.emily = {
home.stateVersion = "23.11";
home.packages = with pkgs; [
whois
restic
] ++ lib.optionals config.kyouma.machine-type.graphical [
thunderbird
obsidian
krita
spotify
cider
pavucontrol
signal-desktop
schildichat-desktop-wayland
image-roll
wl-clipboard
libnotify
slurp
grim
imagemagick_light
jetbrains-mono
];
programs.bat.enable = true;
programs.gpg.enable = true;
programs.ripgrep.enable = true;
programs.yt-dl.enable = true;
programs.eza = {
enable = true;
enableAliases = true;
icons = true;
git = true;
extraOptions = [
"--color-scale=all"
"--color-scale-mode=gradient"
"--group-directories-first"
];
};
programs.git = {
enable = true;
signing.key = "B04F01A7A98A13020C39B4A68AB7B773A214ACE5";
signing.signByDefault = true;
userName = "emily";
userEmail = "ek@kyouma.net";
};
};
}