This commit is contained in:
2025-09-01 21:32:44 -06:00
parent 68bd931f30
commit a56a99ca3f
4 changed files with 29 additions and 85 deletions

View File

@@ -8,6 +8,16 @@
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
#system configs
../defaults/locale.nix
../defaults/boot.nix
../defaults/services.nix
../defaults/gaming.nix
#system packages
../packages/sddm/sddm.nix
];
# Bootloader.
@@ -27,62 +37,15 @@
# Set your time zone.
time.timeZone = "${timezone}";
# Select internationalisation properties.
i18n.defaultLocale = "${locale}";
i18n.extraLocaleSettings = {
LC_ADDRESS = "${locale}";
LC_IDENTIFICATION = "${locale}";
LC_MEASUREMENT = "${locale}";
LC_MONETARY = "${locale}";
LC_NAME = "${locale}";
LC_NUMERIC = "${locale}";
LC_PAPER = "${locale}";
LC_TELEPHONE = "${locale}";
LC_TIME = "${locale}";
};
# Enable the KDE Plasma Desktop Environment.
services.displayManager.sddm.enable = true;
services.displayManager.sddm.wayland.enable = true;
services.desktopManager.plasma6.enable = true;
# Configure keymap in X11
# 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;
# If you want to use JACK applications, uncomment this
#jack.enable = true;
# use the example session manager (no others are packaged yet so this is enabled by default,
# no need to redefine it in your config for now)
#media-session.enable = true;
};
# Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd.
users.users.autumn = {
isNormalUser = true;
description = "autumn";
extraGroups = [ "networkmanager" "wheel" ];
};
# Install firefox.
programs = {
firefox.enable = true;
steam.enable = true;
gamemode.enable = true;
};
# Allow unfree packages
@@ -100,31 +63,6 @@
download-buffer-size = 5245880000;
};
# 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 = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
# 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. Its 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 = "25.05"; # Did you read the comment?
}