{ pkgs, ... }: { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix ]; # Bootloader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; boot.kernelPackages = pkgs.linuxPackages_latest; systemd.sleep.settings.Sleep = { AllowHibernation = "no"; AllowSuspendThenHibernate = "no"; }; networking.hostName = "pc-nixos"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # Enable networking networking.networkmanager = { enable = true; plugins = with pkgs; [ networkmanager-openvpn ]; }; fileSystems."/mnt/backup" = { device = "/dev/disk/by-uuid/0342734f-30f4-410c-9ea2-e08e52286a8b"; fsType = "btrfs"; options = [ "defaults" "nofail" "user" ]; }; # Set your time zone. time.timeZone = "Europe/Vienna"; # Select internationalisation properties. i18n.defaultLocale = "en_US.UTF-8"; i18n.extraLocaleSettings = { LC_ADDRESS = "de_AT.UTF-8"; LC_IDENTIFICATION = "de_AT.UTF-8"; LC_MEASUREMENT = "de_AT.UTF-8"; LC_MONETARY = "de_AT.UTF-8"; LC_NAME = "de_AT.UTF-8"; LC_NUMERIC = "de_AT.UTF-8"; LC_PAPER = "de_AT.UTF-8"; LC_TELEPHONE = "de_AT.UTF-8"; LC_TIME = "de_AT.UTF-8"; }; myDesktop.sddm.enable = true; myDesktop.kde.enable = true; myDesktop.fontFix.enable = true; myApps.browser.enable = true; myApps.gameDev.enable = true; myApps.gaming.enable = true; myApps.music.enable = true; myApps.office.enable = true; myApps.social.enable = true; myApps.textEditor.enable = true; myCli.device.enable = true; myCli.shell.enable = true; myDev.db.enable = true; myDev.docker.enable = true; myDev.management.enable = true; myDev.nix.enable = true; myDev.node.enable = true; myDev.rust.enable = true; myDev.minecraft.enable = true; # Configure keymap in X11 services.xserver.xkb = { layout = "at"; variant = ""; }; # Enable CUPS to print documents. services.printing.enable = true; # Enable sound with pipewire. services.pulseaudio.enable = false; security.rtkit.enable = true; services.pipewire = { enable = true; alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; }; services.hydration-notifier.enable = true; # Define a user account. Don't forget to set a password with ‘passwd’. users.users."tobinio" = { isNormalUser = true; description = "Tobias Frischmann"; extraGroups = [ "networkmanager" "wheel" "dialout" "docker" "input" ]; packages = with pkgs; [ pangolin-cli deadlock-mod-manager ]; shell = pkgs.fish; }; nixpkgs.config.rocmSupport = true; # Allow unfree packages nixpkgs.config.allowUnfree = true; nix.settings.experimental-features = [ "nix-command" "flakes" ]; # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ pika-backup amdgpu_top ]; hardware.steam-hardware.enable = true; hardware.uinput.enable = true; services.joycond.enable = true; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). system.stateVersion = "26.05"; # Did you read the comment? }