93 lines
2.3 KiB
Nix
93 lines
2.3 KiB
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
imports =
|
||
|
[
|
||
|
./application-configuration.nix
|
||
|
./bootloader-configuration.nix
|
||
|
./hardware-configuration.nix
|
||
|
./networking-configuration.nix
|
||
|
./power-configuration.nix
|
||
|
./zephyrus-configuration.nix
|
||
|
];
|
||
|
|
||
|
# Set your time zone.
|
||
|
time.timeZone = "America/New_York";
|
||
|
|
||
|
# Select internationalisation properties.
|
||
|
i18n = {
|
||
|
defaultLocale = "en_US.UTF-8";
|
||
|
extraLocaleSettings = {
|
||
|
LC_ADDRESS = "en_US.UTF-8";
|
||
|
LC_IDENTIFICATION = "en_US.UTF-8";
|
||
|
LC_MEASUREMENT = "en_US.UTF-8";
|
||
|
LC_MONETARY = "en_US.UTF-8";
|
||
|
LC_NAME = "en_US.UTF-8";
|
||
|
LC_NUMERIC = "en_US.UTF-8";
|
||
|
LC_PAPER = "en_US.UTF-8";
|
||
|
LC_TELEPHONE = "en_US.UTF-8";
|
||
|
LC_TIME = "en_US.UTF-8";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
# Enable the kde plasma
|
||
|
services = {
|
||
|
xserver.enable = true;
|
||
|
desktopManager.plasma6.enable = true;
|
||
|
displayManager.sddm = {
|
||
|
enable = true;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
# Enable sound
|
||
|
security.rtkit.enable = true;
|
||
|
services.pipewire = {
|
||
|
enable = true;
|
||
|
alsa.enable = true;
|
||
|
alsa.support32Bit = true;
|
||
|
pulse.enable = true;
|
||
|
};
|
||
|
|
||
|
# Define a user account.
|
||
|
users.users.caleb = {
|
||
|
isNormalUser = true;
|
||
|
description = "caleb";
|
||
|
extraGroups = [ "networkmanager" "wheel" ];
|
||
|
hashedPassword = "$y$j9T$v6EDyPW8C/K.Th4xg8MHL/$tA67k6U0kLtafTNNW2DM7j.xObjPSaZFQ4e/beBX7g2";
|
||
|
};
|
||
|
|
||
|
# disable sudo password for wheel
|
||
|
security.sudo.wheelNeedsPassword = false;
|
||
|
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
appimage-run
|
||
|
git
|
||
|
protontricks
|
||
|
steam-run
|
||
|
winetricks
|
||
|
wineWowPackages.stable
|
||
|
vim
|
||
|
wget
|
||
|
];
|
||
|
|
||
|
# Enable CUPS printing
|
||
|
services.printing = {
|
||
|
enable = true;
|
||
|
drivers = [ pkgs.brlaser ];
|
||
|
};
|
||
|
|
||
|
# enable flakes
|
||
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||
|
|
||
|
# This value being lower than the current NixOS release does NOT mean your system is
|
||
|
# out of date, out of support, or vulnerable.
|
||
|
#
|
||
|
# Do NOT change this value unless you have manually inspected all the changes it would make to your configuration,
|
||
|
# and migrated your data accordingly.
|
||
|
#
|
||
|
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
||
|
system.stateVersion = "24.11"; # Did you read the comment?
|
||
|
|
||
|
}
|
||
|
|