2023-07-15 10:33:52 +01:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
inputs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [
|
|
|
|
inputs.hyprland.nixosModules.default
|
|
|
|
./common.nix
|
|
|
|
];
|
2023-07-13 12:41:00 +01:00
|
|
|
environment.systemPackages = with pkgs; [
|
2023-07-18 09:15:40 +01:00
|
|
|
xdg-utils
|
2023-07-13 12:41:00 +01:00
|
|
|
gsettings-desktop-schemas
|
|
|
|
pavucontrol
|
|
|
|
grim
|
|
|
|
slurp
|
2023-07-16 20:47:11 +01:00
|
|
|
neovide
|
2023-07-16 17:35:36 +01:00
|
|
|
signal-desktop
|
|
|
|
libreoffice
|
|
|
|
zotero
|
2023-07-13 12:41:00 +01:00
|
|
|
];
|
2023-07-15 10:33:52 +01:00
|
|
|
security = {
|
|
|
|
pam.services.swaylock = {};
|
|
|
|
rtkit.enable = true;
|
|
|
|
};
|
|
|
|
sound.enable = true;
|
|
|
|
hardware.pulseaudio.enable = false;
|
2023-07-13 12:41:00 +01:00
|
|
|
services = {
|
2023-07-15 10:33:52 +01:00
|
|
|
pipewire = {
|
|
|
|
enable = true;
|
|
|
|
alsa.enable = true;
|
|
|
|
alsa.support32Bit = true;
|
|
|
|
pulse.enable = true;
|
|
|
|
};
|
2023-07-13 12:41:00 +01:00
|
|
|
blueman.enable = true;
|
|
|
|
gvfs.enable = true;
|
|
|
|
tumbler.enable = true;
|
2023-07-16 17:35:36 +01:00
|
|
|
greetd = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
default_session.command = "Hyprland";
|
|
|
|
initial_session.command = "Hyprland";
|
|
|
|
};
|
|
|
|
};
|
2023-07-13 12:41:00 +01:00
|
|
|
};
|
2023-07-18 09:15:40 +01:00
|
|
|
xdg.portal = {
|
|
|
|
enable = true;
|
|
|
|
extraPortals = with pkgs; [xdg-desktop-portal-gtk];
|
|
|
|
};
|
2023-07-13 12:41:00 +01:00
|
|
|
programs = {
|
2023-07-16 17:35:36 +01:00
|
|
|
hyprland.enable = true;
|
2023-07-13 12:41:00 +01:00
|
|
|
thunar = {
|
|
|
|
enable = true;
|
|
|
|
plugins = with pkgs.xfce; [
|
|
|
|
thunar-archive-plugin
|
|
|
|
thunar-volman
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|