some helpers for oren

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-09-03 16:01:08 -05:00
parent 1487116a9e
commit 5d75299990
3 changed files with 16 additions and 2 deletions

View file

@ -3,4 +3,15 @@
}:
{
system.stateVersion = "24.11"; # Did you read the comment?
networking.networkmanager.enable = true;
environment.shellAliases = {
wifi = "nmtui";
};
boot.kernelModules = [
"rtl8192ce"
"rtl8192c_common"
"rtlwifi"
"mac80211"
];
}

View file

@ -50,6 +50,9 @@
"oc" =
"all_proxy='' http_proxy='' https_proxy='' /home/josh/other/opencode/node_modules/opencode-linux-x64/bin/opencode";
"occ" = "oc -c";
"ollamal" = "ollama list | tail -n +2 | awk '{print $1}' | fzf --ansi --preview 'ollama show {}'";
"battery" = "cat /sys/class/power_supply/BAT1/capacity";
};
environment.systemPackages = with pkgs; [
@ -86,7 +89,7 @@
uhkAgent.enable = true;
tailnet.enable = true;
ssh.enable = true;
# docker.enable = true;
podman.enable = true;
virt-manager.enable = true;
flatpaks = {
enable = true;

View file

@ -51,7 +51,7 @@
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp196s0f4u1.useDHCP = lib.mkDefault true;
# networking.interfaces.enp196s0f3u2u1.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";