moved muninn to desktop.nix

moved pipewire and kernel into desktop.nix
This commit is contained in:
2024-12-20 13:50:32 -05:00
parent 4a348041c4
commit 02084080d2
6 changed files with 22 additions and 37 deletions

View File

@@ -1,10 +1,18 @@
{ pkgs, ... }:
{ {
imports = [ boot = {
./desktop_kernel.nix kernelPackages = pkgs.linuxPackages_6_12;
./pipewire.nix zfs.package = pkgs.zfs;
]; };
services = { services = {
displayManager.sddm = {
enable = true;
wayland.enable = true;
};
desktopManager.plasma6.enable = true; desktopManager.plasma6.enable = true;
xserver = { xserver = {
enable = true; enable = true;
xkb = { xkb = {
@@ -12,5 +20,13 @@
variant = ""; variant = "";
}; };
}; };
pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
wireplumber.enable = true;
};
}; };
} }

View File

@@ -1,7 +0,0 @@
{ pkgs, ... }:
{
boot = {
kernelPackages = pkgs.linuxPackages_6_12;
zfs.package = pkgs.zfs;
};
}

View File

@@ -1,10 +0,0 @@
{
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
wireplumber.enable = true;
};
}

View File

@@ -34,8 +34,6 @@
services = { services = {
displayManager.sddm.enable = true;
openssh.ports = [ 262 ]; openssh.ports = [ 262 ];
printing.enable = true; printing.enable = true;

View File

@@ -4,7 +4,7 @@
../../users/gaming ../../users/gaming
../../users/richie ../../users/richie
../../common/global ../../common/global
../../common/optional/desktop_kernel.nix ../../common/optional/desktop.nix
../../common/optional/steam.nix ../../common/optional/steam.nix
../../common/optional/systemd-boot.nix ../../common/optional/systemd-boot.nix
../../common/optional/update.nix ../../common/optional/update.nix
@@ -36,29 +36,19 @@
services = { services = {
displayManager = { displayManager = {
sddm = {
enable = true;
wayland.enable = true;
};
enable = true; enable = true;
autoLogin = { autoLogin = {
user = "gaming"; user = "gaming";
enable = true; enable = true;
}; };
defaultSession = "steam"; defaultSession = "steam";
# defaultSession = "plasma";
}; };
openssh.ports = [ 295 ]; openssh.ports = [ 295 ];
printing.enable = true; printing.enable = true;
pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
snapshot_manager.enable = true; snapshot_manager.enable = true;
zfs = { zfs = {

View File

@@ -34,8 +34,6 @@
services = { services = {
displayManager.sddm.enable = true;
openssh.ports = [ 922 ]; openssh.ports = [ 922 ];
printing.enable = true; printing.enable = true;