few changes

This commit is contained in:
2026-09-17 19:56:58 +02:00
parent a12defc18c
commit dc8c89e358
10 changed files with 148 additions and 118 deletions
+5 -85
View File
@@ -1,7 +1,6 @@
{
pkgs,
sls-steam,
options,
...
}:
{
@@ -12,7 +11,9 @@
./hardware-configuration.nix
../../modules/git.nix
../../modules/sops.nix
../../modules/audio.nix
../../modules/office.nix
../../modules/system.nix
../../modules/scripts.nix
../../modules/desktop/vr.nix
../../modules/virtualization.nix
@@ -37,21 +38,6 @@
};
};
hardware.graphics.enable = true;
hardware.graphics.enable32Bit = true;
services.hardware.openrgb.enable = true;
hardware.bluetooth = {
enable = true;
powerOnBoot = false;
};
networking = {
hostName = "nixos-desktop";
networkmanager.enable = true;
firewall.enable = false;
};
# Set your time zone.
time.timeZone = "Europe/Berlin";
@@ -86,8 +72,6 @@
shell = pkgs.fish;
};
nixpkgs.config.allowUnfree = true;
programs.niri.enable = true;
programs.hyprland = {
enable = true;
@@ -101,16 +85,6 @@
# style = "breeze";
# };
programs.appimage = {
enable = true;
binfmt = true;
package = pkgs.appimage-run.override {
extraPkgs = pkgs: [
pkgs.zstd
];
};
};
virtualisation.docker.enable = true;
services.gvfs.enable = true;
services.goxlr-utility.enable = true;
@@ -119,12 +93,12 @@
programs.kdeconnect.enable = true;
services.rsync.enable = true;
programs.neovim.enable = true;
services.ratbagd.enable = true;
programs.nh = {
# OPSEC
services.mullvad-vpn = {
enable = true;
flake = "/home/user/nix-config";
gui.enable = true;
};
programs.gamemode.enable = true;
@@ -146,60 +120,6 @@
ui.enable = true;
};
programs.nix-ld = {
enable = true;
libraries =
options.programs.nix-ld.libraries.default
++ (with pkgs; [
dbus # libdbus-1.so.3
fontconfig # libfontconfig.so.1
freetype # libfreetype.so.6
glib # libglib-2.0.so.0
libGL # libGL.so.1
libxkbcommon # libxkbcommon.so.0
libx11 # libX11.so.6
wayland
krb5
qt6.qtdeclarative
qt6.qtbase
qt6.qtwayland
brotli
]);
};
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
extraConfig.pipewire = {
"98-crackling-fix" = {
"context.properties" = {
"default.clock.quantum" = 1024;
"default.clock.min-quantum" = 1024;
"default.clock.max-quantum" = 8192;
};
};
};
};
security.pam.loginLimits = [
{
domain = "@users";
item = "rtprio";
type = "-";
value = "95";
}
{
domain = "@users";
item = "memlock";
type = "-";
value = "unlimited";
}
];
system.stateVersion = "24.11";
system.autoUpgrade.enable = false;
system.autoUpgrade.allowReboot = true;
+2 -8
View File
@@ -72,15 +72,9 @@
};
fileSystems."/media/gamedisk4" = {
device = "/dev/disk/by-uuid/D290EB87C8A1E82A";
fsType = "ntfs-3g";
device = "/dev/disk/by-uuid/fd91dc58-279a-4b26-8a56-2e0fab7bff92";
fsType = "ext4";
options = [
"uid=1000"
"gid=100"
"rw"
"user"
"exec"
"umask=000"
"nofail"
];
};
+9
View File
@@ -1,6 +1,7 @@
{
pkgs,
config,
sls-steam,
...
}:
{
@@ -16,6 +17,14 @@
home.username = "user";
home.homeDirectory = "/home/user";
home.file.".local/share/SLSsteam/SLSsteam.so".source = "${
sls-steam.packages.${pkgs.stdenv.hostPlatform.system}.sls-steam
}/SLSsteam.so";
home.file.".local/share/SLSsteam/library-inject.so".source = "${
sls-steam.packages.${pkgs.stdenv.hostPlatform.system}.sls-steam
}/library-inject.so";
xdg.userDirs = {
enable = true;
createDirectories = false;
+1
View File
@@ -14,6 +14,7 @@
imv.enable = true;
librewolf.enable = true;
java.enable = true;
java.package = pkgs.jdk25;
libreoffice.enable = true;
rofi = {
+1 -1
View File
@@ -1,5 +1,6 @@
{ pkgs, ... }: {
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
wget
kitty
@@ -68,7 +69,6 @@
android-tools
scrcpy
gocryptfs
proton-vpn
unrar
croc
hyprlandPlugins.csgo-vulkan-fix