use zramswap instead of file; use sudo-rs; remove discover; readd docker compose; remove redundant comments (I cant believe fullscreen finally works and i didnt even change anything); joplin desktop needs unstable;

This commit is contained in:
2025-09-04 17:10:42 +01:00
parent 03efdeddc5
commit 190c58639f
6 changed files with 11 additions and 36 deletions

View File

@@ -17,15 +17,18 @@
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
swapDevices = [{ # swapDevices = [{
device = "/var/lib/swapfile"; # device = "/var/lib/swapfile";
size = 16 * 1024; # size = 16 * 1024; # 16 GB
}]; # }];
zramSwap.enable = true; # Creates a zram block device and uses it as a swap device
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
hardware.enableAllFirmware = true; hardware.enableAllFirmware = true;
security.sudo-rs.enable = true;
# networking.hostName = "nixos"; # Define your hostname. # networking.hostName = "nixos"; # Define your hostname.
# Pick only one of the below networking options. # Pick only one of the below networking options.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.

View File

@@ -27,6 +27,7 @@ in
}; };
}; };
services.desktopManager.plasma6.enable = true; services.desktopManager.plasma6.enable = true;
environment.plasma6.excludePackages = [ pkgs.kdePackages.discover ];
# For cursor in steam? # For cursor in steam?
xdg.icons.fallbackCursorThemes = [ "breeze_cursors" ]; xdg.icons.fallbackCursorThemes = [ "breeze_cursors" ];

View File

@@ -28,6 +28,6 @@
# }; # };
}; };
programs.virt-manager.enable = true; programs.virt-manager.enable = true;
environment.systemPackages = with pkgs;[ podman-compose podman-tui podman-desktop ]; environment.systemPackages = with pkgs;[ docker-compose podman-compose podman-tui podman-desktop ];
} }

View File

@@ -20,18 +20,6 @@
networking.hostName = "tuxedo"; # Define your hostname. networking.hostName = "tuxedo"; # Define your hostname.
# one day i will fix the fullscreen issue
# https://community.frame.work/t/fullscreen-games-freeze-on-plasma-6-with-dgpu/61088/9
# https://community.frame.work/t/bug-psa-gpu-bug-causes-crashes-on-kde-plasma/58133/4
# https://www.reddit.com/r/archlinux/comments/1gzy0xd/amdgpu_regression_on_kernel_612_choppy/
# https://forum.manjaro.org/t/unstable-update-october-2024-edition/168715/44
boot.kernelParams = [
# "amdgpu.dcdebugmask=0x410"
# or amdgpu.dcdebugmask=0x010
# or amdgpu.dcdebugmask=0x400
# or both amdgpu.dcdebugmask=0x410
];
boot.extraModprobeConfig = '' boot.extraModprobeConfig = ''
options iwlwifi 11n_disable=8 power_save=0 options iwlwifi 11n_disable=8 power_save=0
options iwlmvm power_scheme=1 options iwlmvm power_scheme=1
@@ -39,18 +27,6 @@
services.hardware.openrgb.enable = true; services.hardware.openrgb.enable = true;
# fileSystems."/mnt/HDD1" = {
# fsType = "ext4";
# label = "HDD1";
# options = [
# # If you don't have this options attribute, it'll default to "defaults"
# # boot options for fstab. Search up fstab mount options you can use
# "users" # Allows any user to mount and unmount
# "nofail" # Prevent system from failing if this drive doesn't mount
# "exec" # Permit execution of binaries and other executable files
# ];
# };
fileSystems."/mnt/HDD2" = { fileSystems."/mnt/HDD2" = {
fsType = "ext4"; fsType = "ext4";
label = "HDD2"; label = "HDD2";

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }: { pkgs, inputs, ... }:
{ {
imports = [ imports = [
@@ -14,7 +14,7 @@
keepassxc keepassxc
qbittorrent qbittorrent
libreoffice-qt libreoffice-qt
joplin-desktop inputs.nixpkgs-unstable.legacyPackages."${pkgs.system}".joplin-desktop
# comms # comms
teamspeak_client teamspeak_client

View File

@@ -1,10 +1,6 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
xdg.dataFile."proton/proton-ge" = {
source = pkgs.proton-ge-bin;
};
home.packages = with pkgs;[ home.packages = with pkgs;[
# Wine / Proton # Wine / Proton
wineWowPackages.staging wineWowPackages.staging
@@ -24,7 +20,6 @@
gst-plugins-ugly gst-plugins-ugly
gst-libav gst-libav
gst-vaapi gst-vaapi
gamescope
]; ];
}) })