···11+# Edit this configuration file to define what should be installed on
22+# your system. Help is available in the configuration.nix(5) man page
33+# and in the NixOS manual (accessible by running ‘nixos-help’).
44+55+{ config, pkgs, ... }:
66+77+{
88+ imports = [
99+ # Include the results of the hardware scan.
1010+ ./hardware-configuration.nix
1111+ ../all-hosts.nix
1212+ ];
1313+1414+ # Bootloader.
1515+ boot.loader.systemd-boot.enable = true;
1616+ boot.loader.efi.canTouchEfiVariables = true;
1717+1818+ networking.hostName = "Samurott"; # Define your hostname.
1919+ # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
2020+2121+ # Configure network proxy if necessary
2222+ # networking.proxy.default = "http://user:password@proxy:port/";
2323+ # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
2424+2525+ # Enable networking
2626+ networking.networkmanager.enable = true;
2727+2828+ # Set your time zone.
2929+ time.timeZone = "Europe/Amsterdam";
3030+3131+ # Select internationalisation properties.
3232+ i18n.defaultLocale = "en_GB.UTF-8";
3333+3434+ i18n.extraLocaleSettings = {
3535+ LC_ADDRESS = "nl_NL.UTF-8";
3636+ LC_IDENTIFICATION = "nl_NL.UTF-8";
3737+ LC_MEASUREMENT = "nl_NL.UTF-8";
3838+ LC_MONETARY = "nl_NL.UTF-8";
3939+ LC_NAME = "nl_NL.UTF-8";
4040+ LC_NUMERIC = "nl_NL.UTF-8";
4141+ LC_PAPER = "nl_NL.UTF-8";
4242+ LC_TELEPHONE = "nl_NL.UTF-8";
4343+ LC_TIME = "nl_NL.UTF-8";
4444+ };
4545+4646+ # Enable the X11 windowing system.
4747+ # You can disable this if you're only using the Wayland session.
4848+ services.xserver.enable = true;
4949+5050+ # Enable the KDE Plasma Desktop Environment.
5151+ # services.displayManager.sddm.enable = true;
5252+ services.desktopManager.plasma6.enable = true;
5353+5454+ # Configure keymap in X11
5555+ services.xserver.xkb = {
5656+ layout = "us";
5757+ variant = "euro";
5858+ };
5959+6060+ # Enable CUPS to print documents.
6161+ services.printing.enable = true;
6262+6363+ # Enable sound with pipewire.
6464+ services.pulseaudio.enable = false;
6565+ security.rtkit.enable = true;
6666+ services.pipewire = {
6767+ enable = true;
6868+ alsa.enable = true;
6969+ alsa.support32Bit = true;
7070+ pulse.enable = true;
7171+ # If you want to use JACK applications, uncomment this
7272+ #jack.enable = true;
7373+7474+ # use the example session manager (no others are packaged yet so this is enabled by default,
7575+ # no need to redefine it in your config for now)
7676+ #media-session.enable = true;
7777+ };
7878+7979+ # Enable touchpad support (enabled default in most desktopManager).
8080+ # services.xserver.libinput.enable = true;
8181+8282+ # Allow unfree packages
8383+ nixpkgs.config.allowUnfree = true;
8484+8585+ environment.systemPackages = with pkgs; [
8686+ grc
8787+ galaxy-buds-client
8888+ jetbrains-toolbox
8989+ ];
9090+9191+ programs.steam = {
9292+ enable = true;
9393+ remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
9494+ dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
9595+ localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
9696+ };
9797+ programs.appimage.enable = true;
9898+ programs.appimage.binfmt = true;
9999+100100+ # Nvidia bit
101101+ hardware.graphics.enable = true;
102102+ services.xserver.videoDrivers = [ "nvidia" ];
103103+ hardware.nvidia.open = true; # see the note above
104104+105105+ # Some programs need SUID wrappers, can be configured further or are
106106+ # started in user sessions.
107107+ # programs.mtr.enable = true;
108108+ # programs.gnupg.agent = {
109109+ # enable = true;
110110+ # enableSSHSupport = true;
111111+ # };
112112+113113+ # List services that you want to enable:
114114+115115+ # Enable the OpenSSH daemon.
116116+ # services.openssh.enable = true;
117117+118118+ # Open ports in the firewall.
119119+ # networking.firewall.allowedTCPPorts = [ ... ];
120120+ # networking.firewall.allowedUDPPorts = [ ... ];
121121+ # Or disable the firewall altogether.
122122+ # networking.firewall.enable = false;
123123+124124+ # This value determines the NixOS release from which the default
125125+ # settings for stateful data, like file locations and database versions
126126+ # on your system were taken. It‘s perfectly fine and recommended to leave
127127+ # this value at the release version of the first install of this system.
128128+ # Before changing this value read the documentation for this option
129129+ # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
130130+ system.stateVersion = "25.11"; # Did you read the comment?
131131+132132+}