more config updates

This commit is contained in:
stitchy 2024-03-14 01:46:44 +00:00
parent 8659535e96
commit 25078ab6d4
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8
6 changed files with 24 additions and 6 deletions

View file

@ -19,6 +19,10 @@
security.rtkit.enable = true;
programs.zsh.enable = true;
# Virtualization because I need mah vr back
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
programs.neovim = {
enable = true;
@ -36,6 +40,7 @@
cmp_luasnip
tokyonight-nvim
vim-lsp-cxx-highlight
typst-vim
];
};
};

View file

@ -38,7 +38,7 @@
peers = [{
publicKey = "atXy3zi3FLoxP8hgzJIIeLGks4Te9HrKkQGoaobholM=";
presharedKeyFile = "/etc/nixos/hosts/gemini/wg.psk";
presharedKeyFile = "/etc/nixos/hosts/gemini/wg.psk";
allowedIPs = [ "10.100.0.0/24" ];
endpoint = "moms.wireguard.stitchy.moe:47111";
persistentKeepalive = 25;

View file

@ -10,6 +10,8 @@
system.nixos.tags = [ "Nya_Beginnings" ];
services.logind.powerKey = "ignore";
services.logind.powerKeyLongPress = "poweroff";
services.resolved = {
enable = true;
dnsovertls = "opportunistic";
@ -67,7 +69,7 @@
CPU_MIN_PERF_ON_AC = 0;
CPU_MAX_PERF_ON_AC = 100;
CPU_MIN_PERF_ON_BAT = 0;
CPU_MAX_PERF_ON_BAT = 30;
CPU_MAX_PERF_ON_BAT = 50;
#Optional helps save long term battery health
START_CHARGE_THRESH_BAT0 = 40; # 40 and bellow it starts to charge

View file

@ -34,7 +34,7 @@
vimPlugins.tokyonight-nvim
# temporary home manager things
inotify-tools
eww-wayland
eww
jq
socat
libimobiledevice
@ -46,6 +46,7 @@
noto-fonts-emoji
liberation_ttf
nerdfonts
ipafont
];
}

View file

@ -50,7 +50,7 @@
shell = pkgs.zsh;
home = "/home/stitchynyan";
description = "Personal user";
extraGroups = [ "wheel" "networkmanager" "kvm" "libvirt" "audio" ];
extraGroups = [ "wheel" "networkmanager" "kvm" "libvirtd" "audio" ];
initialHashedPassword = "$y$j9T$rvySCWHYE4AO4A9J0Vf20.$x5hpBNsOWovQFtNfFUIt17OAH5MJFwFBGjxbaEIagJ3";
};
}

View file

@ -3,6 +3,7 @@
{ config,
nixosConfig,
pkgs,
lib,
inputs,
home-manager,
... }:
@ -54,13 +55,22 @@
qt5ct
qt6ct
mpv
python311Packages.sympy
python311Packages.matplotlib
#steamvr?
procps
usbutils
(python311.withPackages (lib.attrVals ["sympy" "matplotlib"]))
(octaveFull.withPackages (lib.attrVals ["symbolic"]))
];
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = ["qemu:///system"];
uris = ["qemu:///system"];
};
};
home.sessionVariables = {
FOO = "BAR";