Install omarchy-nix on sparky.

This commit is contained in:
2025-10-25 11:29:51 +01:00
parent dd8fee0ecb
commit 064d227344
5 changed files with 552 additions and 90 deletions

View File

@@ -27,12 +27,6 @@
pulse.enable = true;
};
# XDG portal for screen sharing, file pickers, etc.
xdg.portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
};
# Fonts
fonts.packages = with pkgs; [
noto-fonts
@@ -43,23 +37,8 @@
fira-code-symbols
];
# Enable greetd with tuigreet for login
services.greetd = {
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --remember --remember-session --sessions ${pkgs.writeText "sessions" ''
Hyprland:Hyprland
Console:fish
''}";
user = "greeter";
};
};
};
# Environment variables for Wayland
environment.sessionVariables = {
NIXOS_OZONE_WL = "1"; # Hint electron apps to use Wayland
WLR_NO_HARDWARE_CURSORS = "1"; # Fix cursor rendering on some hardware
};
}