···55{ config, lib, pkgs, ... }:
6677{
88- nix.settings.experimental-features = ["nix-command" "flakes"];
98 imports =
109 [ # Include the results of the hardware scan.
1110 ./hardware-configuration.nix
1211 ];
1313- hardware.bluetooth.enable = true;
1412 # Bootloader.
1513 boot.loader.systemd-boot.enable = true;
1614 boot.loader.efi.canTouchEfiVariables = true;
···3331 # Enable networking
3432 networking.networkmanager.enable = true;
35333636- # Enable touchpad support (enabled default in most desktopManager).
3737- # services.xserver.libinput.enable = true;
3838-3939- # Define a user account. Don't forget to set a password with ‘passwd’.
4040-4141- # List packages installed in system profile. To search, run:
4242- # $ nix search wget
4334 environment.systemPackages = with pkgs; [
4444- gcc
4545- gnumake
4646- bison
4747- flex
4848- autoconf
4949- automake
5050- libtool
5151- discord
5252- calibre
5353- libreoffice
5454- enchant
5555- rustup
5656- pkg-config
5757- passt
5858- # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
5959- # wget
6035 ];
61366237 # programs.mtr.enable = true;
···7348 # networking.firewall.allowedTCPPorts = [ ... ];
7449 # networking.firewall.allowedUDPPorts = [ ... ];
7550 # Or disable the firewall altogether.
7676-7777- # This value determines the NixOS release from which the default
7878- # settings for stateful data, like file locations and database versions
7979- # on your system were taken. It‘s perfectly fine and recommended to leave
8080- # this value at the release version of the first install of this system.
8181- # Before changing this value read the documentation for this option
8282- # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
8351 system.stateVersion = "25.05"; # Did you read the comment?
8484-5252+ profiles = {
5353+ desktop = {
5454+ enable = true;
5555+ niri.enable = true;
5656+ };
5757+ laptop.enable = true;
5858+ perftools.enable = true;
5959+ games.enable = true;
6060+ docs.enable = true;
6161+ };
8562}