{ config, pkgs, ... }: { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix # where are we ? # ./wollomi.nix # ./adrift.nix ]; # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.configurationLimit = 5; boot.loader.systemd-boot.consoleMode = "max"; boot.loader.timeout = 3; boot.loader.efi.canTouchEfiVariables = true; boot.plymouth.enable = true; # Pick only one of the below networking options. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. # Set your time zone. time.timeZone = "Australia/Sydney"; # Configure network proxy if necessary # networking.proxy.default = "http://user:password@proxy:port/"; # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; # Select internationalisation properties. i18n.defaultLocale = "en_US.UTF-8"; console = { font = "Lat2-Terminus16"; # keyMap = "us"; useXkbConfig = true; # use xkbOptions in tty. }; nixpkgs.config.allowUnfree = true; hardware.opengl.enable = true; hardware.opengl.driSupport32Bit = true; #input stuff # services.xserver.xkbOptions = { # "eurosign:e"; # "caps:escape" # map caps to escape. # }; services.xserver.enable = true; services.xserver.layout = "us"; # kde time services.xserver.desktopManager.plasma5.enable = true; services.xserver.displayManager.sddm.enable = true; services.xserver.desktopManager.plasma5.runUsingSystemd = true; # Enable sound. security.rtkit.enable = true; services.pipewire = { enable = true; alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; jack.enable = true; }; # Enable touchpad support (enabled default in most desktopManager). services.xserver.libinput.enable = true; # gtk compatibility qt5.enable = true; qt5.platformTheme = "gtk2"; qt5.style = "gtk2"; # Define a user account. Don't forget to set a password with ‘passwd’. programs.zsh.enable = true; users.defaultUserShell = pkgs.zsh; # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ helix rnix-lsp home-manager git zsh ]; # Some programs need SUID wrappers, can be configured further or are # started in user sessions. # programs.mtr.enable = true; # programs.gnupg.agent = { # enable = true; # enableSSHSupport = true; # }; # List services that you want to enable: # Enable the OpenSSH daemon. # services.openssh.enable = true; # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ 8200 ]; # networking.firewall.allowedUDPPorts = [ 1900 ]; # Or disable the firewall altogether. # Copy the NixOS configuration file and link it from the resulting system # (/run/current-system/configuration.nix). This is useful in case you # accidentally delete configuration.nix. # system.copySystemConfiguration = 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 = "22.05"; # Did you read the comment? }