35 lines
713 B
Nix
35 lines
713 B
Nix
{pkgs, ...}: {
|
|
home = {
|
|
sessionVariables = {
|
|
MOZ_ENABLE_WAYLAND = "1";
|
|
};
|
|
};
|
|
|
|
programs.fish = {
|
|
shellAliases = {
|
|
# TODO: these aren't working?
|
|
disks = "df -h && lsblk";
|
|
sctl = "sudo systemctl";
|
|
bt = "bluetoothctl";
|
|
pa = "pulsemixer";
|
|
sctlu = "systemctl --user";
|
|
};
|
|
|
|
functions = {
|
|
pp = ''
|
|
if test (count $argv) -gt 0
|
|
while true; ping -O -i 1 -w 5 -c 10000000 $argv; sleep 1; end
|
|
else
|
|
while true; ping -O -i 1 -w 5 -c 10000000 1.1.1.1; sleep 1; end
|
|
end
|
|
'';
|
|
};
|
|
};
|
|
|
|
home.packages = [
|
|
(pkgs.buildEnv {
|
|
name = "my-linux-scripts";
|
|
paths = [./scripts/linux];
|
|
})
|
|
];
|
|
}
|