# Edit this configuration file to define what should be installed on # your system. Help is available in the configuration.nix(5) man page, on # https://search.nixos.org/options and in the NixOS manual (`nixos-help`). { inputs, pkgs, ... }: { imports = [ ../../configuration/base.nix # Include the results of the hardware scan. ./hardware-configuration.nix inputs.disko.nixosModules.default ./disk-config.nix inputs.home-manager.nixosModules.default ../../configuration/modules/laptop.nix ../../configuration/modules/virtualisation.nix ../../configuration/modules/gaming.nix ]; 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 = '' options iwlwifi 11n_disable=8 power_save=0 options iwlmvm power_scheme=1 ''; services.hardware.openrgb.enable = true; fileSystems."/mnt/HDD1" = { #device = "/dev/disk/by-uuid/35763dc3-c736-4714-ade7-40bf49ad50dd"; 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 ]; }; # hardware.tuxedo-drivers.enable = true; programs.wireshark = { enable = true; package = pkgs.wireshark; dumpcap.enable = true; }; environment.systemPackages = with pkgs;[ distrobox ]; # Define a user account. Don't forget to set a password with ‘passwd’. users.users.worble = { initialPassword = "password"; isNormalUser = true; extraGroups = [ "wheel" "gamemode" "docker" "cdrom" "wireshark" ]; # Enable ‘sudo’ for the user. linger = true; }; home-manager = { useGlobalPkgs = true; extraSpecialArgs = { inherit inputs; }; sharedModules = [ inputs.nix-index-database.hmModules.nix-index ]; users = { "worble" = import ./home.nix; }; }; }