feat: add new host and start modularizing system configuration

This commit is contained in:
Jay Looney 2025-06-16 13:54:38 -05:00
parent ebe58addaa
commit 4a8c953223
22 changed files with 1050 additions and 288 deletions

40
modules/nixos/desktop.nix Normal file
View file

@ -0,0 +1,40 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
yubikey-personalization
xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland
xwayland
rofi-wayland
waybar
hyprpaper
kitty # hyprland default term
swww # wallpaper
];
services.xserver.enable = true;
services.xserver.xkb.layout = "us";
services.displayManager.gdm.enable = true;
services.desktopManager.gnome.enable = true;
services.printing.enable = true;
programs.hyprland = {
enable = true;
withUWSM = true;
xwayland.enable = true;
};
programs.hyprlock.enable = true;
# Hint electron apps to use wayland
environment.sessionVariables = {
NIXOS_OZONE_WL = "1";
};
# screen sharing /w hyp
services.dbus.enable = true;
fonts.packages = with pkgs; [
nerd-fonts.fira-code
nerd-fonts.iosevka
atkinson-hyperlegible
];
}