summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscouckel <james.krinsky@gmail.com>2026-03-10 01:38:38 -0500
committerscouckel <james.krinsky@gmail.com>2026-03-10 01:38:38 -0500
commit7d441dadf096b3152e5a0973f486b79a28f654ce (patch)
tree11592d983611885c5646f35fac4d60825113806f
parenta88ea2380f4bd5845bc3b035a0a8bbfee42f4292 (diff)
vecna up to date + update
-rw-r--r--hosts/vecna/configuration.nix22
-rw-r--r--hosts/vecna/home.nix2
-rw-r--r--modules/home-manager/default.nix5
-rw-r--r--modules/home-manager/gaming.nix4
-rw-r--r--modules/home-manager/hypr/waybar-hyprland.nix6
-rw-r--r--modules/home-manager/mangowc/default.nix38
-rw-r--r--modules/nixos/nas.nix6
7 files changed, 60 insertions, 23 deletions
diff --git a/hosts/vecna/configuration.nix b/hosts/vecna/configuration.nix
index fb6b0ed..a4870bf 100644
--- a/hosts/vecna/configuration.nix
+++ b/hosts/vecna/configuration.nix
@@ -48,6 +48,12 @@
services.xserver.videoDrivers = [ "amdgpu" ];
hardware.cpu.amd.updateMicrocode = true;
+ zramSwap = {
+ enable = true;
+ priority = 100;
+ algorithm = "lz4";
+ memoryPercent = 32;
+ };
# networking
system.name = "vecna";
@@ -115,6 +121,22 @@
security.polkit.enable = true;
services.playerctld.enable = true;
+ boot.kernel.sysctl = {
+ "vm.max_map_count" = 2147483642;
+ };
+
+ boot.kernelParams = [
+ "amdgpu.noretry=0"
+ "amdgpu.mcbp=0"
+ "amdgpu.sg_display=0"
+ "amdgpu.gpu_recovery=1"
+ "iommu=soft"
+ "amdgpu.dcdebugmask=0x10"
+ "amdgpu.ppfeaturemask=0xfffd7fff"
+ ];
+
+ hardware.enableRedistributableFirmware = true;
+
services.openssh = {
enable = true;
settings.PermitRootLogin = "no";
diff --git a/hosts/vecna/home.nix b/hosts/vecna/home.nix
index 0033eee..01556df 100644
--- a/hosts/vecna/home.nix
+++ b/hosts/vecna/home.nix
@@ -59,7 +59,7 @@
wayland.windowManager.hyprland.settings = {
monitor = [
"DP-3, 2560x1440@170.07100, 0x0, 1"
- "HDMI-A-1, 1920x1080@74.97, 2560x150, 1"
+ "HDMI-A-1, 1920x1080@74.97, -1920x150, 1"
];
workspace = [
diff --git a/modules/home-manager/default.nix b/modules/home-manager/default.nix
index c81d0b3..7b91f74 100644
--- a/modules/home-manager/default.nix
+++ b/modules/home-manager/default.nix
@@ -3,13 +3,13 @@
{
imports = [
./hypr
- ./mangowc
+ #./mangowc
./git.nix
# ./vscodium.nix
./kitty.nix
./zen-browser.nix
./obs.nix
- ./spicetify.nix
+ # ./spicetify.nix
./yazi.nix
./fastfetch.nix
./gaming.nix
@@ -48,6 +48,7 @@
bluetui
btop
openjdk
+ thunderbird
];
home.sessionVariables = {
diff --git a/modules/home-manager/gaming.nix b/modules/home-manager/gaming.nix
index 09eff6b..3222fc2 100644
--- a/modules/home-manager/gaming.nix
+++ b/modules/home-manager/gaming.nix
@@ -19,7 +19,7 @@
ryujinx.package = pkgs.ryubing;
};
steamPackage = pkgs.steam;
- winePackages = with pkgs.wineWowPackages; [
+ winePackages = with pkgs.wineWow64Packages; [
stable
];
extraPackages = with pkgs; [
@@ -34,4 +34,4 @@
];
};
};
-} \ No newline at end of file
+}
diff --git a/modules/home-manager/hypr/waybar-hyprland.nix b/modules/home-manager/hypr/waybar-hyprland.nix
index ebbae3a..eed22c6 100644
--- a/modules/home-manager/hypr/waybar-hyprland.nix
+++ b/modules/home-manager/hypr/waybar-hyprland.nix
@@ -64,12 +64,12 @@
on-scroll-down = "playerctl --player=,Feishin previous";
exec = "${pkgs.writeShellScriptBin "feishin-module-script" ''
shorten() {
- if [ ''${#1} -le 12 ]; then
+ if [ ''${#1} -le 24 ]; then
printf "%s" "$1"
else
- local truncated="''${1:0:9}"
+ local truncated="''${1:0:21}"
if [ "''${truncated: -1}" = " " ]; then
- truncated="''${truncated:0:8}"
+ truncated="''${truncated:0:20}"
fi
printf "%s…" "$truncated"
fi
diff --git a/modules/home-manager/mangowc/default.nix b/modules/home-manager/mangowc/default.nix
index fe9843f..85f86eb 100644
--- a/modules/home-manager/mangowc/default.nix
+++ b/modules/home-manager/mangowc/default.nix
@@ -1,22 +1,18 @@
{ pkgs, ... }:
{
- imports = [
- # ./binds.nix
- ];
-
wayland.windowManager.mango = {
enable = true;
settings = ''
- animations=0
- layer_animations=0
+ animations=1
+ layer_animations=1
borderpx=1
- gappi=0
- gappo=0
- overviewgappi=0
- overviewgappo=0
+ gappih=0
+ gappiv=0
+ gappoh=0
+ gappov=0
smartgaps=0
tagrule=id:1,layout_name=scroller
@@ -30,7 +26,20 @@
tagrule=id:9,layout_name=tile
tagrule=id:10,layout_name=tile
+ bind=Super+Shift,1,tagsilent,1
+ bind=Super+Shift,2,tagsilent,2
+ bind=Super+Shift,3,tagsilent,3
+ bind=Super+Shift,4,tagsilent,4
+ bind=Super+Shift,5,tagsilent,5
+ bind=Super+Shift,6,tagsilent,6
+ bind=Super+Shift,7,tagsilent,7
+ bind=Super+Shift,8,tagsilent,8
+ bind=Super+Shift,9,tagsilent,9
+ bind=Super+Shift,10,tagsilent,10
+
+ bind=Super,F1,spawn,rofi -show drun
bind=Super,F2,spawn,kitty
+ bind=Super,F3,spawn_shell,kitty yazi
bind=Super,F4,killclient
bind=Super,m,quit
@@ -45,8 +54,13 @@
bind=Super,9,view,9
bind=Super,10,view,10
- bind=Super,t,setlayout,tile
- bind=Super,x,setlayout,scroller
+ bind=Super,n,switch_layout
+
+ mousebind=SUPER,btn_left,moveresize,curmove
+ mousebind=SUPER,btn_right,moveresize,curresize
+
+ accel_profile=1
+ accel_speed=-0.35
'';
};
}
diff --git a/modules/nixos/nas.nix b/modules/nixos/nas.nix
index 6201160..9cb2067 100644
--- a/modules/nixos/nas.nix
+++ b/modules/nixos/nas.nix
@@ -45,7 +45,7 @@
];
fileSystems."/mnt/data" = {
- device = "100.106.156.106:/tank/data";
+ device = "100.64.0.2:/tank/data";
fsType = "nfs4";
options = [
@@ -63,7 +63,7 @@
};
fileSystems."/mnt/backups" = {
- device = "100.106.156.106:/tank/backups";
+ device = "100.64.0.2:/tank/backups";
fsType = "nfs4";
options = [
@@ -81,7 +81,7 @@
};
fileSystems."/mnt/media" = {
- device = "100.106.156.106:/tank/media";
+ device = "100.64.0.2:/tank/media";
fsType = "nfs4";
options = [