This commit is contained in:
Weckyy702
2026-01-12 11:23:10 +01:00
parent 6122cba650
commit 0524def0ad
16 changed files with 154 additions and 41 deletions

View File

@@ -0,0 +1,57 @@
{ config, pkgs, ...}: {
## System wide configuration
# Configure keymap in X11
services.xserver.xkb = {
layout = "de";
variant = "";
};
services.greetd = {
enable = true;
useTextGreeter = true;
settings = {
default_session = {
command = "${pkgs.tuigreet}/bin/tuigreet --time --cmd hyprland";
user = "greeter";
};
};
};
programs.hyprland = {
enable = true;
withUWSM = true;
xwayland.enable = true;
};
environment.systemPackages = with pkgs; [
libnotify
dunst
];
# Required to use hyprlock
security.pam.services.hyprlock = {};
# Configure electron apps to use wayland
environment.sessionVariables.NIXOS_OZONE_WL = "1";
## Home-Manager specific configuration
home-manager.users.weckyy702 = {
wayland.windowManager.hyprland = {
enable = true;
settings = import ./settings.nix;
xwayland.enable = true;
systemd.enable = true;
};
programs.hyprlock = {
enable = true;
};
programs.wofi = {
enable = true;
};
services.hyprpaper = {
enable = true;
};
services.hyprsunset.enable = true;
services.hyprpolkitagent.enable = true;
services.hypridle.enable = true;
};
}