📦 Created config files with common code

- Created common.nix for various configs
- Created theme.nix for theme related configs
- Moved some code to more logical files
- Moved some standalone files into nix multiline strings, in order to
  inject data
This commit is contained in:
2025-01-07 20:18:30 +01:00
parent e223999ae1
commit 1133e01eff
31 changed files with 650 additions and 675 deletions

View File

@ -1,10 +1,6 @@
{
pkgs,
...
}:
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
@ -17,7 +13,7 @@
spotify
];
hardware.pulseaudio.enable = false; # Will be moved to services
hardware.pulseaudio.enable = false; # Will be moved to services in 25.05
security.rtkit.enable = true; # Enable RealtimeKit for audio purposes
@ -32,6 +28,6 @@
# Uncomment the following line if you want to use JACK applications
# jack.enable = true;
};
# pulseaudio.enable = false;
# pulseaudio.enable = false; # TODO uncommenct at 25.05
};
}

View File

@ -1,5 +1,3 @@
{ ... }:
{
imports = [
./audio.nix

View File

@ -1,5 +1,3 @@
{ ... }:
{
hardware.nvidia = {
# Required