Evie Litherland-Smith
5ff572a9b7
Move home/ directory under system/ directory. Remove duplicated machine-specific config files, now handled as one per host (excluding hardware-configuration directory) Move as much configuration as possible out of flake.nix and into more appropriate files (e.g. system/default.nix) Add a desktop.nix and laptop.nix for system, both will import home/desktop.nix and home/laptop.nix respectively to reduce duplication in machine-specific config files Remove games and streaming directories, moved directly into Vanguard config file Remove home/personal.nix since it ended up being empty after changes Remove old sway config since I haven't been maintaining it and this refactor will definitely break it
67 lines
1.4 KiB
Nix
67 lines
1.4 KiB
Nix
{ pkgs, ... }:
|
|
{
|
|
imports = [
|
|
./bottom.nix
|
|
./fastfetch.nix
|
|
./git.nix
|
|
./ssh.nix
|
|
./starship.nix
|
|
./zsh.nix
|
|
];
|
|
home.packages = with pkgs; [
|
|
rclone
|
|
git-sync
|
|
du-dust
|
|
];
|
|
programs = {
|
|
bash = {
|
|
enable = true;
|
|
enableCompletion = true;
|
|
};
|
|
bat = {
|
|
enable = true;
|
|
config = {
|
|
theme = "OneHalfLight";
|
|
style = "plain,numbers,changes";
|
|
};
|
|
};
|
|
eza = {
|
|
enable = true;
|
|
git = true;
|
|
icons = true;
|
|
extraOptions = [ "--octal-permissions" ];
|
|
};
|
|
direnv = {
|
|
enable = true;
|
|
nix-direnv.enable = true;
|
|
};
|
|
fd.enable = true;
|
|
fzf = {
|
|
enable = true;
|
|
defaultCommand = "${pkgs.fd}/bin/fd --type f";
|
|
changeDirWidgetCommand = "${pkgs.fd}/bin/fd --type d";
|
|
fileWidgetCommand = "${pkgs.fd}/bin/fd --type f";
|
|
};
|
|
jq.enable = true;
|
|
nix-index.enable = true;
|
|
readline = {
|
|
enable = true;
|
|
variables = {
|
|
bell-style = "visible";
|
|
blink-matching-paren = "On";
|
|
colored-completion-prefix = "On";
|
|
colored-stats = "On";
|
|
completion-ignore-case = "On";
|
|
completion-map-case = "On";
|
|
editing-mode = "emacs";
|
|
expand-tilde = "On";
|
|
horizontal-scroll-mode = "On";
|
|
mark-directories = "On";
|
|
mark-symlinked-directories = "On";
|
|
visible-stats = "On";
|
|
};
|
|
};
|
|
ripgrep.enable = true;
|
|
};
|
|
}
|