This commit is contained in:
2026-04-26 20:45:55 -03:00
parent 7fcd58a909
commit 4d74d73e65
9 changed files with 211 additions and 78 deletions
+2 -5
View File
@@ -10,7 +10,7 @@
programs.dms-shell = {
enable = true;
package = inputs.dms.packages.${pkgs.stdenv.hostPlatform.system}.default;
#quickshell.package = inputs.quickshell.packages.${pkgs.stdenv.hostPlatform.system}.quickshell;
quickshell.package = inputs.quickshell.packages.${pkgs.stdenv.hostPlatform.system}.quickshell;
systemd = {
enable = true; # Systemd service for auto-start
@@ -18,10 +18,7 @@
};
plugins = {
dankBitwarden.enable = true;
dankKDEConnect.enable = true;
linuxWallpaperEngine.enable = true;
nvidiaGpuMonitor.enable = true;
};
# Core features
+5
View File
@@ -28,6 +28,7 @@
## Cache
ccache.enable = true;
ccache.cacheDir = "/var/cache/ccache";
};
nix = {
@@ -51,8 +52,12 @@
lib.filterAttrs (_: value: lib.isType "flake" value) inputs
);
settings.flake-registry = "";
settings.substituters = [ "https://attic.xuyh0120.win/lantian" ];
settings.trusted-public-keys = [ "lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc=" ];
};
nixpkgs.overlays = [ inputs.nix-cachyos-kernel.overlays.pinned ];
services = {
flatpak = {
enable = true;
+4 -3
View File
@@ -17,9 +17,10 @@
boot = {
modprobeConfig.enable = true;
kernelModules = [ "tcp_bbr" ];
extraModprobeConfig = "options nvidia NVreg_UsePageAttributeTable=1 \
NVreg_InitializeSystemMemoryAllocations=0 \
NVreg_DynamicPowerManagement=0x02";
extraModprobeConfig = ''
options nvidia NVreg_UsePageAttributeTable=1
NVreg_InitializeSystemMemoryAllocations=0
NVreg_DynamicPowerManagement=0x02 '';
kernel.sysctl = {
"kernel.split_lock_mitigate" = 0;
"kernel.nmi_watchdog" = 0;