dots/modules/linux/desktop.nix
Nico f188ff6723 nix: compact audio.nix, applications.nix and login.nix into a singular file
if you are gonna use a system with a desktop you would probably enable
all of them in the first place
2025-05-03 16:34:34 +10:00

37 lines
829 B
Nix

{ config, lib, pkgs, ... }:
{
# Enable sound.
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
# Enable display manager w/autologin
services.greetd = {
enable = true;
settings = {
initial_session = {
command = "${pkgs.hyprland}/bin/Hyprland";
user = "nico";
};
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --asterisks --time --greeting 'nyaaa~~'";
};
};
};
# Applications
programs.steam = {
# doesn't do anything if steam isn't enabled so safe here
extraPackages = [ pkgs.gamescope ];
gamescopeSession.enable = true;
extest.enable = true;
};
services.flatpak.enable = true;
}