nixos/hosts/desktop.nix
Evie Litherland-Smith b102f9e209 Major cleanup for files
Reduce complexity and in flake.nix and be more efficient in re-using
things

Removed some reduandant files in home/ and tidied up the structure
somewhat

Moved things from desktop, gui, etc... to top level

Changed env to shell, indiv shell expressions import relevant others
2023-07-16 17:35:36 +01:00

54 lines
985 B
Nix

{
pkgs,
inputs,
...
}: {
imports = [
inputs.hyprland.nixosModules.default
./common.nix
];
environment.systemPackages = with pkgs; [
gsettings-desktop-schemas
pavucontrol
grim
slurp
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";
};
};
};
programs = {
hyprland.enable = true;
thunar = {
enable = true;
plugins = with pkgs.xfce; [
thunar-archive-plugin
thunar-volman
];
};
};
}