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 [
|
2024-03-28 10:15:54 +01:00
|
|
|
linux-manual
|
2024-02-28 22:43:20 +01:00
|
|
|
colmena
|
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-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-02-26 20:06:58 +01:00
|
|
|
gnome.simple-scan
|
2024-02-28 22:43:20 +01:00
|
|
|
cinnamon.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;
|
|
|
|
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-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
|
|
|
}
|