1
0
Fork 0
forked from emily/nixfiles
nixfiles-emily/config/common/users/emily/default.nix
2024-02-27 19:07:12 +01:00

85 lines
1.9 KiB
Nix

{ config, pkgs, lib, inputs, ... }: {
imports = [
inputs.home-manager.nixosModules.home-manager
];
users.users.emily = {
isNormalUser = true;
shell = pkgs.fish;
ignoreShellProgramCheck = true;
extraGroups = [ "wheel" ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA/+iN407+HsfHbbC3tfdA8Yf4TZ08qXQMb4tb/SDAs+ emily@card"
];
};
nixpkgs.config.permittedInsecurePackages = [
"electron-25.9.0"
];
home-manager.useGlobalPkgs = true;
home-manager.users.emily = {
home.stateVersion = "23.11";
home.packages = with pkgs; [
whois
htop
restic
] ++ lib.optionals config.kyouma.machine-type.graphical [
thunderbird
obsidian
krita
pixman
spotify
cider
pavucontrol
signal-desktop
element-desktop-wayland
image-roll
wl-clipboard
libnotify
slurp
grim
gnome.simple-scan
gnome.nautilus
imagemagick_light
#ubuntu_font_family
jetbrains-mono
font-awesome
];
fonts.fontconfig.enable = true;
programs.bat.enable = true;
programs.gpg.enable = true;
programs.ripgrep.enable = true;
programs.yt-dlp.enable = true;
programs.eza = {
enable = true;
enableAliases = true;
icons = true;
git = true;
extraOptions = [
"--color-scale=all"
"--color-scale-mode=gradient"
"--group-directories-first"
];
};
programs.fish = {
enable = true;
interactiveShellInit = ''
set -U fish_greeting
'';
loginShellInit = ''
[ (tty) = /dev/tty1 ] ;and exec Hyprland
'';
};
programs.git = {
enable = true;
signing.key = "B04F01A7A98A13020C39B4A68AB7B773A214ACE5";
signing.signByDefault = true;
userName = "emily";
userEmail = "ek@kyouma.net";
};
};
}