2024-05-28 23:04:44 +02:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
2024-09-23 14:23:22 +02:00
|
|
|
displayManager.lightdm = {
|
2024-05-28 23:04:44 +02:00
|
|
|
enable = true;
|
|
|
|
};
|
2024-09-13 14:10:29 +02:00
|
|
|
xkb = {
|
|
|
|
options = "ctrl:nocaps";
|
|
|
|
variant = "intl";
|
|
|
|
layout = "no,us";
|
|
|
|
};
|
|
|
|
windowManager.qtile.enable = true;
|
2024-05-28 23:04:44 +02:00
|
|
|
};
|
|
|
|
|
2024-09-13 14:10:29 +02:00
|
|
|
programs.hyprland.enable = true;
|
|
|
|
|
2024-05-28 23:04:44 +02:00
|
|
|
hardware.keyboard.zsa.enable = true;
|
|
|
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
|
|
|
|
2024-09-13 14:10:29 +02:00
|
|
|
home-manager.users.felixalb = {
|
|
|
|
services = {
|
|
|
|
dunst.enable = true;
|
|
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
i3lock
|
|
|
|
libnotify
|
|
|
|
pamixer
|
|
|
|
pavucontrol
|
2024-09-23 14:23:22 +02:00
|
|
|
picom
|
2024-09-13 14:10:29 +02:00
|
|
|
sxhkd
|
|
|
|
xclip
|
|
|
|
xss-lock
|
|
|
|
];
|
2024-09-23 14:23:22 +02:00
|
|
|
|
|
|
|
programs.alacritty.settings = {
|
|
|
|
font.size = lib.mkForce 11;
|
|
|
|
};
|
2024-09-13 14:10:29 +02:00
|
|
|
};
|
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-13 14:10:54 +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-13 14:10:54 +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-13 14:10:54 +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-30 15:46:31 +02:00
|
|
|
services.dbus.packages = [ pkgs.gcr ];
|
2024-09-13 14:10:54 +02:00
|
|
|
services.openssh.settings.X11Forwarding = true;
|
2024-05-28 23:04:44 +02:00
|
|
|
}
|