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.kernelPackages = pkgs.linuxPackages_latest;
swapDevices = [{
device = "/var/lib/swapfile";
size = 16 * 1024;
}];
# swapDevices = [{
# device = "/var/lib/swapfile";
# 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.enableRedistributableFirmware = true;
hardware.enableAllFirmware = true;
security.sudo-rs.enable = true;
# networking.hostName = "nixos"; # Define your hostname.
# Pick only one of the below networking options.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.