forked from emily/nixfiles
78 lines
1.8 KiB
Nix
78 lines
1.8 KiB
Nix
{ inputs, pkgs, ... }: {
|
|
imports = [
|
|
inputs.home-manager.nixosModules.home-manager
|
|
];
|
|
|
|
users.users.lucy = {
|
|
isNormalUser = true;
|
|
shell = pkgs.fish;
|
|
ignoreShellProgramCheck = true;
|
|
extraGroups = [ "wheel" ];
|
|
openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIId7XvwEHtC9KdGg4Bn+XE+yyBp7/dRToJX9T56mM7ln kosaki@kosaki"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAZH8HwE1OxVAArRpc3+c7foYJ/WYjp4BqUyuab9yQyl emilia@emilia"
|
|
];
|
|
};
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.users.lucy = {
|
|
home.stateVersion = "24.11";
|
|
|
|
home.packages = with pkgs; [
|
|
whois
|
|
htop
|
|
restic
|
|
fend
|
|
];
|
|
fonts.fontconfig.enable = true;
|
|
|
|
programs.bat.enable = true;
|
|
programs.gpg.enable = true;
|
|
programs.ripgrep.enable = true;
|
|
|
|
programs.tmux = {
|
|
enable = true;
|
|
prefix = "M-w";
|
|
clock24 = true;
|
|
extraConfig = ''
|
|
# unbind keys
|
|
unbind-key C-b
|
|
|
|
# new prefix
|
|
bind-key M-w send-prefix
|
|
|
|
# selection via vim keys
|
|
bind-key -r h select-pane -L
|
|
bind-key -r j select-pane -D
|
|
bind-key -r k select-pane -U
|
|
bind-key -r l select-pane -R
|
|
|
|
# resize aswell
|
|
bind-key -r C-h resize-pane -L 5
|
|
bind-key -r C-j resize-pane -D 5
|
|
bind-key -r C-k resize-pane -U 5
|
|
bind-key -r C-l resize-pane -R 5
|
|
|
|
bind-key g split-window
|
|
bind-key v split-window -h
|
|
'';
|
|
};
|
|
|
|
programs.eza = {
|
|
enable = true;
|
|
icons = "auto";
|
|
git = true;
|
|
extraOptions = [
|
|
"--color-scale=all"
|
|
"--color-scale-mode=gradient"
|
|
"--group-directories-first"
|
|
];
|
|
};
|
|
programs.fish = {
|
|
enable = true;
|
|
interactiveShellInit = ''
|
|
set -U fish_greeting
|
|
'';
|
|
};
|
|
};
|
|
}
|