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

94 lines
2.1 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 = [
2024-08-22 18:27:32 +02:00
"jitsi-meet-1.0.8043"
2024-02-22 20:20:07 +01:00
];
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
2024-09-10 12:02:18 +02:00
fend
2024-02-05 22:22:40 +01:00
] ++ lib.optionals config.kyouma.machine-type.graphical [
2024-03-28 10:15:54 +01:00
linux-manual
2024-02-28 22:43:20 +01:00
colmena
2024-05-29 21:10:12 +02:00
clinfo
2024-02-05 22:22:40 +01:00
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-29 21:24:55 +01:00
element-desktop
2024-11-17 20:00:46 +01:00
firefox
# currently broken
#inputs.firefox.packages.${pkgs.system}.firefox
2024-05-11 17:50:26 +02:00
2024-05-14 13:22:13 +02:00
nixfmt-classic
2024-02-05 22:22:40 +01:00
wl-clipboard
libnotify
slurp
grim
2024-08-14 18:33:20 +02:00
simple-scan
nemo
2024-02-05 22:22:40 +01:00
imagemagick_light
2024-02-22 20:20:07 +01:00
#ubuntu_font_family
2024-03-24 19:57:02 +01:00
libsForQt5.breeze-icons
2024-02-28 22:43:20 +01:00
(nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; })
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-10-17 16:55:25 +02:00
icons = "auto";
2024-02-14 19:42:25 +01:00
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-28 16:20:45 +01:00
loginShellInit = lib.mkIf config.kyouma.machine-type.graphical ''
2024-02-26 20:06:58 +01:00
[ (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
}