2024-05-28 23:04:44 +02:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./remote.nix
|
|
|
|
./gnome.nix
|
|
|
|
./xfce.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
|
|
|
displayManager.gdm = {
|
|
|
|
enable = true;
|
|
|
|
wayland = true;
|
|
|
|
};
|
|
|
|
xkbOptions = "ctrl:nocaps";
|
|
|
|
layout = "no,us";
|
|
|
|
xkbVariant = "intl";
|
|
|
|
};
|
|
|
|
|
|
|
|
hardware.keyboard.zsa.enable = true;
|
|
|
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
xclip
|
2024-09-11 10:33:15 +02:00
|
|
|
pavucontrol
|
2024-05-28 23:04:44 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
hardware.opengl.enable = true;
|
|
|
|
|
|
|
|
# Audio
|
|
|
|
services.pipewire = {
|
|
|
|
enable = true;
|
|
|
|
alsa.enable = true;
|
|
|
|
pulse.enable = true;
|
|
|
|
jack.enable = true;
|
|
|
|
};
|
|
|
|
hardware.pulseaudio.enable = false;
|
|
|
|
|
|
|
|
# Fonts
|
|
|
|
fonts = {
|
|
|
|
fontDir.enable = true;
|
|
|
|
packages = with pkgs; [
|
|
|
|
noto-fonts
|
|
|
|
noto-fonts-emoji
|
|
|
|
noto-fonts-cjk-sans
|
|
|
|
font-awesome
|
|
|
|
fira-code
|
|
|
|
hack-font
|
|
|
|
(nerdfonts.override {
|
|
|
|
fonts = [
|
|
|
|
"Hack"
|
|
|
|
];
|
|
|
|
})
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2024-09-11 10:33:15 +02:00
|
|
|
# # Dark mode
|
|
|
|
# home-manager.users.felixalb = {
|
|
|
|
# dconf.settings = {
|
|
|
|
# "org/gnome/desktop/interface" = {
|
|
|
|
# color-scheme = "prefer-dark";
|
|
|
|
# };
|
|
|
|
# };
|
2024-05-28 23:04:44 +02:00
|
|
|
|
2024-09-11 10:33:15 +02:00
|
|
|
# gtk = {
|
|
|
|
# enable = true;
|
|
|
|
# theme = {
|
|
|
|
# name = "Adwaita-dark";
|
|
|
|
# package = pkgs.gnome.gnome-themes-extra;
|
|
|
|
# };
|
|
|
|
# };
|
|
|
|
# };
|
2024-05-28 23:04:44 +02:00
|
|
|
|
2024-09-11 10:33:15 +02:00
|
|
|
# qt = {
|
|
|
|
# enable = true;
|
|
|
|
# platformTheme = "gnome";
|
|
|
|
# style = "adwaita-dark";
|
|
|
|
# };
|
2024-05-28 23:04:44 +02:00
|
|
|
|
|
|
|
# Misc:
|
|
|
|
xdg.portal = {
|
|
|
|
enable = true;
|
|
|
|
wlr.enable = true;
|
|
|
|
};
|
|
|
|
location.provider = "geoclue2";
|
|
|
|
security.polkit.enable = true;
|
2024-09-11 10:33:15 +02:00
|
|
|
services.openssh.settings.X11Forwarding = true;
|
2024-05-28 23:04:44 +02:00
|
|
|
}
|