nixos/hosts/desktop.nix
Evie Litherland-Smith e2c9d8eba7 Use custom neovim flake, centralise tokyonight source
nvim repo has been converted to flake for easier inclusion but still
stand-alone for non-nix systems

Move tokyonight repo fetch to flake input to keep consistent and reduce
multiple fetch calls
2023-07-24 13:27:05 +01:00

50 lines
940 B
Nix

{
pkgs,
hyprland,
...
}: {
imports = [
hyprland.nixosModules.default
./common.nix
];
environment.systemPackages = with pkgs; [
xdg-utils
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";
};
};
};
xdg.portal = {
enable = true;
extraPortals = with pkgs; [xdg-desktop-portal-gtk];
};
programs.hyprland.enable = true;
}