full PC config setup

shifting towards manual symlinks for more complex setup than laptop, allows for GUI settings changes to actually apply, and is much easier than nix-ifying every config
This commit is contained in:
greyweather committed 2026-07-12 04:01:28 +01:00
1 parent 19e8f0a6d5
commit 0f018cd2e3
149 files changed
+9539 -478

No files matched your search

+44 -3
View File
@@ -1,11 +1,13 @@
{
config,
pkgs,
inputs,
...
}: let
modules-dir = ../../modules;
in {
imports = [
inputs.nixos-millennium.nixosModules.default
../../global-default.nix
./hardware-configuration.nix
"${modules-dir}/display-managers/sddm.nix"
@@ -18,8 +20,47 @@ in {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
extraCompatPackages = with pkgs; [
proton-ge-bin
];
extraCompatPackages = [ pkgs.proton-ge-bin ];
extraPackages = [ pkgs.hidapi ];
};
programs.dconf.enable = true; # apparently necessary for easyeffects to work in home.nix
boot.loader.grub = {
enable = true;
device = "nodev"; # "nodev" is used for UEFI
efiSupport = true;
useOSProber = true;
theme = pkgs.stdenv.mkDerivation {
pname = "liquidglass-grub";
version = "1.0";
src = pkgs.fetchFromGitHub {
owner = "Purp1eDuck2008";
repo = "Liquid-GRUB";
rev = "1c336ff58c952e614713471b0aeceeb5d6f29c12";
hash = "sha256-+YYZK6VTA6fi67k+e2F2wVzkVMM7wvg/P7KzxL6R258=";
};
installPhase = "cp -r LiquidGlass $out";
};
};
hardware.i2c.enable = true;
users.users."grey".extraGroups = [ config.hardware.i2c.group ];
services.lact.enable = true;
hardware.amdgpu.overdrive.enable = true;
zramSwap = {
enable = true;
algorithm = "zstd";
memoryMax = 17179869184;
};
boot.kernel.sysctl = {
"vm.swappiness" = 180;
"vm.watermark_boost_factor" = 0;
"vm.watermark_scale_factor" = 125;
"vm.page-cluster" = 0;
};
}