56 lines
1.2 KiB
Nix
56 lines
1.2 KiB
Nix
{ pkgs, ... }: {
|
|
imports = [
|
|
./host/bluetooth.nix
|
|
./host/bootloader.nix
|
|
./host/console.nix
|
|
./host/db.nix
|
|
./host/env.nix
|
|
./host/gamemode.nix
|
|
./host/gpg.nix
|
|
./host/laptop.nix
|
|
./host/network.nix
|
|
./host/printing.nix
|
|
./host/shutdown-on-lan.nix
|
|
./host/sound.nix
|
|
./host/virtmanager.nix
|
|
./host/vpn.nix
|
|
./host/yggdrasil.nix
|
|
];
|
|
|
|
programs = {
|
|
dconf.enable = true;
|
|
hyprland.enable = true;
|
|
};
|
|
|
|
xdg.portal = {
|
|
enable = true;
|
|
xdgOpenUsePortal = true;
|
|
|
|
extraPortals = with pkgs; [
|
|
xdg-desktop-portal-hyprland
|
|
xdg-desktop-portal-gtk
|
|
xdg-desktop-portal-termfilechooser
|
|
];
|
|
|
|
config = {
|
|
common = {
|
|
default = [ "hyprland" "gtk" ];
|
|
"org.freedesktop.impl.portal.FileChooser" = [ "termfilechooser" "gtk" ];
|
|
"org.freedesktop.impl.portal.Settings" = [ "gtk" ];
|
|
};
|
|
|
|
hyprland = {
|
|
default = [ "hyprland" "gtk" ];
|
|
"org.freedesktop.impl.portal.FileChooser" = [ "termfilechooser" "gtk" ];
|
|
"org.freedesktop.impl.portal.Settings" = [ "gtk" ];
|
|
};
|
|
};
|
|
};
|
|
|
|
services = {
|
|
udisks2.enable = true;
|
|
fstrim.enable = true;
|
|
upower.enable = true;
|
|
};
|
|
}
|