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

+18
View File
@@ -0,0 +1,18 @@
{
pkgs,
config,
lib,
...
}: {
services.easyeffects.enable = true;
home.activation = {
linkEasyEffectsDb = lib.hm.dag.entryAfter ["writeBoundary"] ''
#!/bin/bash
if [ -d /home/grey/.config/easyeffects/db ]; then
rm -rf /home/grey/.config/easyeffects/db
fi
ln -s /home/grey/nixos/assets/dotfiles/takamaki/easyeffects-config /home/grey/.config/easyeffects/db
'';
};
}
+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;
};
}
+31
View File
@@ -0,0 +1,31 @@
# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "uas" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/e845a5a1-cc91-4598-910a-c0b8b8486318";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/9E25-4C54";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}
+28 -4
View File
@@ -1,27 +1,31 @@
{
config,
pkgs,
inputs,
lib,
...
}: let
global-configs = ../../global-configs;
in {
imports = [
inputs.nixos-millennium.homeManagerModules.default
../../global-home.nix
"${global-configs}/plasma.nix"
"${global-configs}/fastfetch.nix"
"${global-configs}/zen-browser.nix"
"${global-configs}/vscode.nix"
"${global-configs}/zsh.nix"
"${global-configs}/equibop.nix"
"${global-configs}/spicetify.nix"
./configs/easyeffects.nix
./configs/kitty.nix
];
home.packages = with pkgs; [
equibop
prismlauncher
obsidian
github-desktop
vscode
thunderbird
spotify
unityhub
godot
jetbrains.clion
@@ -29,10 +33,30 @@ in {
obs-studio
proton-vpn
ente-auth
lact
winetricks
protontricks
kdePackages.filelight
dconf-editor
];
home.pointerCursor = {
enable = true;
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Ice";
size = 22;
gtk.enable = true;
x11.enable = true;
};
programs.steam.theme = pkgs.millenniumThemes.nevko-ui;
home.activation = {
linkAutostartDir = lib.hm.dag.entryAfter ["writeBoundary"] ''
#!/bin/bash
if [ -d /home/grey/.config/autostart ]; then
rm -rf /home/grey/.config/autostart
fi
ln -s /home/grey/nixos/assets/dotfiles/takamaki/autostart-config /home/grey/.config/autostart
'';
};
}