mirror of
https://github.com/bartvdbraak/dotfiles.git
synced 2025-06-28 20:29:10 +00:00
Big refactor (#8)
* Update to 24.11 channel and add `ghostty` * full restructure * minor changes * fix issues * fixes and improvements * Add back some old config * working example for now
This commit is contained in:
parent
5ac124b389
commit
ab338d3b15
75 changed files with 935 additions and 3232 deletions
43
nixos/services.nix
Normal file
43
nixos/services.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
# Desktop, display and greeter configuration
|
||||
services.xserver.enable = true;
|
||||
services.displayManager.sddm = {
|
||||
enable = true;
|
||||
wayland.enable = true;
|
||||
};
|
||||
services.desktopManager.plasma6.enable = true;
|
||||
|
||||
# Audio system with PipeWire
|
||||
# Enable PipeWire and ALSA support
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true; # Enable ALSA support
|
||||
alsa.support32Bit = true; # Support for 32-bit applications
|
||||
pulse.enable = true; # Enable PulseAudio compatibility layer
|
||||
};
|
||||
|
||||
# Enable libinput for input device handling
|
||||
services.libinput.enable = true;
|
||||
|
||||
# Enable security-related service for realtime audio tasks
|
||||
security.rtkit.enable = true;
|
||||
|
||||
# Enable to update some devices' firmware
|
||||
services.fwupd.enable = true;
|
||||
|
||||
# Steam, Tailscale, and other programs/services
|
||||
programs.steam.enable = true;
|
||||
services.tailscale.enable = true;
|
||||
programs.partition-manager.enable = true;
|
||||
|
||||
# Environment variables
|
||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
|
||||
# Printing and Bluetooth
|
||||
# Disable browsed: https://discourse.nixos.org/t/newly-announced-vulnerabilities-in-cups
|
||||
services.printing.enable = true;
|
||||
services.printing.browsed.enable = false;
|
||||
hardware.bluetooth.enable = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue