Modularize nixos config

This commit is contained in:
2025-12-15 18:54:42 +01:00
parent ba2f861ad4
commit d7d08e28be
4 changed files with 16 additions and 14 deletions
+2
View File
@@ -1,6 +1,8 @@
{
imports = [
./fish.nix
./firefox.nix
./hyprland.nix
./ly.nix
];
}
+3
View File
@@ -0,0 +1,3 @@
{
programs.firefox.enable = true;
}
+3
View File
@@ -0,0 +1,3 @@
{
services.displayManager.ly.enable = true;
}
+8 -14
View File
@@ -73,11 +73,8 @@
LC_TIME = "de_DE.UTF-8";
};
# Enable ly display manager
services.displayManager.ly.enable = true;
# Enable CUPS to print documents.
services.printing.enable = true;
#services.printing.enable = true;
# Enable firmware
#hardware.enableAllFirmware = true;
@@ -86,16 +83,13 @@
#hardware.bluetooth.enable = true;
# Enable sound with pipewire.
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
# Install firefox.
programs.firefox.enable = true;
# security.rtkit.enable = true;
# services.pipewire = {
# enable = true;
# alsa.enable = true;
# alsa.support32Bit = true;
# pulse.enable = true;
# };
networking.hostName = "desktop";