2024-03-10 00:20:39 -08:00
|
|
|
|
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
} @ args: {
|
|
|
|
|
|
|
|
imports = [
|
2024-03-10 00:51:46 -08:00
|
|
|
../base
|
2024-03-10 01:00:55 -08:00
|
|
|
./include/common.nix
|
|
|
|
./include/compat.nix
|
|
|
|
./include/i18n.nix
|
2024-03-10 00:20:39 -08:00
|
|
|
];
|
|
|
|
|
2024-03-10 00:44:38 -08:00
|
|
|
# Bootloader.
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
# Enable networking
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
|
|
|
|
|
2024-03-10 00:20:39 -08:00
|
|
|
hardware.bluetooth.enable = true;
|
|
|
|
hardware.bluetooth.powerOnBoot = true;
|
|
|
|
|
2024-03-10 00:44:38 -08:00
|
|
|
|
|
|
|
# Enable the X11 windowing system.
|
|
|
|
services.xserver.enable = true;
|
|
|
|
|
|
|
|
# Enable the KDE Plasma Desktop Environment.
|
|
|
|
services.xserver.displayManager.sddm.enable = true;
|
2024-03-13 19:23:24 -07:00
|
|
|
services.desktopManager.plasma6.enable = true;
|
2024-03-10 00:44:38 -08:00
|
|
|
services.xserver.desktopManager.gnome.enable = true;
|
2024-03-10 00:20:39 -08:00
|
|
|
|
2024-03-17 09:24:29 -07:00
|
|
|
zramSwap.enable = true;
|
2024-03-10 00:20:39 -08:00
|
|
|
|
|
|
|
# Enable CUPS to print documents.
|
|
|
|
services.printing.enable = true;
|
|
|
|
|
|
|
|
services.salt.minion.enable = true;
|
|
|
|
services.salt.minion.configuration = {
|
|
|
|
master = "salt.freelock.lan";
|
|
|
|
location = [ "freelock" ];
|
|
|
|
};
|
2024-03-10 01:00:55 -08:00
|
|
|
|
2024-03-10 00:20:39 -08:00
|
|
|
# Enable sound with pipewire.
|
|
|
|
sound.enable = true;
|
|
|
|
hardware.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;
|
|
|
|
|
|
|
|
nixpkgs.config.permittedInsecurePackages = [
|
|
|
|
"electron-25.9.0"
|
|
|
|
];
|
|
|
|
|
|
|
|
}
|