mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-12-11 16:00:48 +01:00
37 lines
1.0 KiB
Nix
37 lines
1.0 KiB
Nix
{ pkgs, config, lib, cpuType, ... }:
|
|
|
|
{
|
|
# List services that you want to enable:
|
|
services.openssh.enable = true;
|
|
services.fstrim.enable = true;
|
|
xdg.portal = {
|
|
enable = true;
|
|
extraPortals = [ pkgs.xdg-desktop-portal-gtk
|
|
pkgs.xdg-desktop-portal
|
|
];
|
|
configPackages = [ pkgs.xdg-desktop-portal-gtk
|
|
pkgs.xdg-desktop-portal-hyprland
|
|
pkgs.xdg-desktop-portal
|
|
];
|
|
};
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
jack.enable = true;
|
|
};
|
|
hardware.pulseaudio.enable = false;
|
|
sound.enable = true;
|
|
security.rtkit.enable = true;
|
|
programs.thunar.enable = true;
|
|
services.gvfs.enable = true;
|
|
services.tumbler.enable = true;
|
|
hardware.bluetooth.enable = true; # enables support for Bluetooth
|
|
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
|
|
services.blueman.enable = true;
|
|
services.qemuGuest = lib.mkIf ("${cpuType}" == "vm") {
|
|
enable = true;
|
|
};
|
|
}
|