nixos/system/desktop.nix
Evie Litherland-Smith 9e92c21fbd Move some things into separate files, add laptop power management
Move autoUpgrade, nix registry and stylix settings to their own files, only
import autoUpgrade on desktops and server

Add laptop system file to control power management

Move some bits from flake.nix to default.nix and desktop.nix where
appropriate
2024-02-25 06:32:13 +00:00

60 lines
1.1 KiB
Nix

{
pkgs,
user,
...
}: {
imports = [./default.nix ./stylix.nix];
environment.systemPackages = with pkgs; [
libnotify
libcamera
glib
gsettings-desktop-schemas
hunspell
hunspellDicts.en_GB-large
libreoffice-fresh
inkscape
webcord
signal-desktop
whatsapp-for-linux
teams-for-linux
nomachine-client
];
security = {
polkit.enable = true;
rtkit.enable = true;
};
sound.enable = false;
hardware.bluetooth.enable = true;
services = {
accounts-daemon.enable = true;
dbus.packages = with pkgs; [gcr];
greetd = {
enable = true;
settings.initial_session = {inherit user;};
};
pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = true;
};
audio.enable = true;
jack.enable = true;
pulse.enable = true;
wireplumber.enable = true;
};
xserver.xkb = {
layout = "gb";
variant = "";
options = "ctrl:nocaps";
};
};
programs.dconf.enable = true;
gtk.iconCache.enable = true;
qt = {
enable = true;
platformTheme = "gnome";
style = "adwaita-dark";
};
}