Some checks failed
/ flake-check (push) Failing after 11m49s
/ build-devshell (push) Failing after 11m55s
/ build-host (map[host:router]) (push) Failing after 11m58s
/ build-host (map[host:rascal]) (push) Failing after 12m2s
/ build-host (map[host:foxtrot]) (push) Failing after 12m4s
/ build-host (map[host:flipflop]) (push) Failing after 12m7s
/ build-host (map[host:dragon]) (push) Failing after 12m9s
/ build-host (map[host:beefcake]) (push) Failing after 12m13s
80 lines
1.3 KiB
Nix
80 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
pkgs,
|
|
config,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.lyte.shell;
|
|
in
|
|
{
|
|
options = {
|
|
lyte = {
|
|
shell = {
|
|
enable = lib.mkEnableOption "Enable my default shell configuration and applications";
|
|
};
|
|
};
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
programs.nix-index.enable = true;
|
|
programs.command-not-found.enable = false;
|
|
services = {
|
|
fwupd.enable = lib.mkDefault true;
|
|
};
|
|
users = {
|
|
defaultUserShell = pkgs.fish;
|
|
};
|
|
programs = {
|
|
fish.enable = true;
|
|
traceroute.enable = true;
|
|
git = {
|
|
enable = true;
|
|
package = pkgs.gitFull;
|
|
lfs.enable = true;
|
|
};
|
|
};
|
|
environment = {
|
|
variables = {
|
|
EDITOR = "hx";
|
|
SYSTEMD_EDITOR = "hx";
|
|
VISUAL = "hx";
|
|
PAGER = "bat --style=plain";
|
|
MANPAGER = "bat --style=plain";
|
|
};
|
|
systemPackages = with pkgs; [
|
|
ghostty-terminfo
|
|
aria2
|
|
bat
|
|
bottom
|
|
btop
|
|
comma
|
|
curl
|
|
dnsutils
|
|
dogdns
|
|
dua
|
|
eza
|
|
fd
|
|
file
|
|
helix
|
|
hexyl
|
|
htop
|
|
iftop
|
|
inetutils
|
|
iputils
|
|
killall
|
|
nettools
|
|
nmap
|
|
pciutils
|
|
unixtools.xxd
|
|
ripgrep
|
|
rsync
|
|
sd
|
|
usbutils
|
|
xh
|
|
zellij
|
|
];
|
|
};
|
|
|
|
};
|
|
}
|