forked from emily/nixfiles
90 lines
2 KiB
Nix
90 lines
2 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 = [
|
|
"jitsi-meet-1.0.8043"
|
|
];
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.users.emily = {
|
|
home.stateVersion = "23.11";
|
|
|
|
home.packages = with pkgs; [
|
|
whois
|
|
htop
|
|
restic
|
|
fend
|
|
] ++ lib.optionals config.kyouma.machine-type.graphical [
|
|
linux-manual
|
|
colmena
|
|
clinfo
|
|
thunderbird
|
|
obsidian
|
|
krita
|
|
pixman
|
|
spotify
|
|
cider
|
|
pavucontrol
|
|
signal-desktop
|
|
element-desktop
|
|
|
|
nixfmt-classic
|
|
wl-clipboard
|
|
libnotify
|
|
slurp
|
|
grim
|
|
simple-scan
|
|
nemo
|
|
imagemagick_light
|
|
|
|
#ubuntu_font_family
|
|
libsForQt5.breeze-icons
|
|
(nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; })
|
|
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;
|
|
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 = lib.mkIf config.kyouma.machine-type.graphical ''
|
|
[ (tty) = /dev/tty1 ] ;and exec Hyprland
|
|
'';
|
|
};
|
|
programs.git = {
|
|
enable = true;
|
|
signing.key = "B04F01A7A98A13020C39B4A68AB7B773A214ACE5";
|
|
signing.signByDefault = true;
|
|
userName = "emily";
|
|
userEmail = "ek@kyouma.net";
|
|
};
|
|
};
|
|
}
|