Files
nixos-config/modules/host.nix
T

56 lines
1.2 KiB
Nix
Raw Normal View History

2026-05-31 19:52:51 +03:00
{ pkgs, ... }: {
2025-02-02 14:57:36 +03:00
imports = [
./host/bluetooth.nix
./host/bootloader.nix
./host/console.nix
2025-03-21 00:12:27 +03:00
./host/db.nix
2025-02-02 14:57:36 +03:00
./host/env.nix
./host/gamemode.nix
./host/gpg.nix
./host/laptop.nix
2025-12-13 03:08:13 +03:00
./host/network.nix
2025-02-02 14:57:36 +03:00
./host/printing.nix
./host/shutdown-on-lan.nix
./host/sound.nix
./host/virtmanager.nix
./host/vpn.nix
2025-04-08 16:48:13 +03:00
./host/yggdrasil.nix
2025-02-02 14:57:36 +03:00
];
2026-05-31 19:52:51 +03:00
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" ];
};
};
};
2025-02-02 14:57:36 +03:00
services = {
udisks2.enable = true;
fstrim.enable = true;
2025-03-21 00:12:52 +03:00
upower.enable = true;
2025-02-02 14:57:36 +03:00
};
}