some helpers for oren
This commit is contained in:
parent
1487116a9e
commit
5d75299990
3 changed files with 16 additions and 2 deletions
|
|
@ -3,4 +3,15 @@
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
system.stateVersion = "24.11"; # Did you read the comment?
|
system.stateVersion = "24.11"; # Did you read the comment?
|
||||||
|
|
||||||
|
networking.networkmanager.enable = true;
|
||||||
|
environment.shellAliases = {
|
||||||
|
wifi = "nmtui";
|
||||||
|
};
|
||||||
|
boot.kernelModules = [
|
||||||
|
"rtl8192ce"
|
||||||
|
"rtl8192c_common"
|
||||||
|
"rtlwifi"
|
||||||
|
"mac80211"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,9 @@
|
||||||
"oc" =
|
"oc" =
|
||||||
"all_proxy='' http_proxy='' https_proxy='' /home/josh/other/opencode/node_modules/opencode-linux-x64/bin/opencode";
|
"all_proxy='' http_proxy='' https_proxy='' /home/josh/other/opencode/node_modules/opencode-linux-x64/bin/opencode";
|
||||||
"occ" = "oc -c";
|
"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; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
@ -86,7 +89,7 @@
|
||||||
uhkAgent.enable = true;
|
uhkAgent.enable = true;
|
||||||
tailnet.enable = true;
|
tailnet.enable = true;
|
||||||
ssh.enable = true;
|
ssh.enable = true;
|
||||||
# docker.enable = true;
|
podman.enable = true;
|
||||||
virt-manager.enable = true;
|
virt-manager.enable = true;
|
||||||
flatpaks = {
|
flatpaks = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@
|
||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
# 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`.
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||||
networking.useDHCP = lib.mkDefault true;
|
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;
|
# networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue