1
0
Fork 0
forked from emily/nixfiles
nixfiles-emily/config/common/users/emily/default.nix

86 lines
1.9 KiB
Nix
Raw Normal View History

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