nixos/hosts/desktop.nix
Evie Litherland-Smith bb2992c784 Enable light/sound control for laptop (hopefully)
Add extra rofi modes (ssh, power, files)

Add extra XDG settings for hyprland
2023-07-18 09:15:40 +01:00

60 lines
1.1 KiB
Nix

{
pkgs,
inputs,
...
}: {
imports = [
inputs.hyprland.nixosModules.default
./common.nix
];
environment.systemPackages = with pkgs; [
xdg-utils
gsettings-desktop-schemas
pavucontrol
grim
slurp
neovide
signal-desktop
libreoffice
zotero
];
security = {
pam.services.swaylock = {};
rtkit.enable = true;
};
sound.enable = true;
hardware.pulseaudio.enable = false;
services = {
pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
blueman.enable = true;
gvfs.enable = true;
tumbler.enable = true;
greetd = {
enable = true;
settings = {
default_session.command = "Hyprland";
initial_session.command = "Hyprland";
};
};
};
xdg.portal = {
enable = true;
extraPortals = with pkgs; [xdg-desktop-portal-gtk];
};
programs = {
hyprland.enable = true;
thunar = {
enable = true;
plugins = with pkgs.xfce; [
thunar-archive-plugin
thunar-volman
];
};
};
}