refactor base system

This commit is contained in:
2023-07-24 13:47:01 +02:00
parent 20fd2b839c
commit c03c8ab0c7
9 changed files with 56 additions and 41 deletions

12
os/system/base.nix Normal file
View File

@@ -0,0 +1,12 @@
{ pkgs, ... }: {
imports = [
./boot.nix
./security.nix
./i18n.nix
./network.nix
./sound.nix
./xserver.nix
./virtualisation.nix
./packages.nix
];
}

View File

@@ -26,8 +26,6 @@
gcc
unzip
wget
plasma5Packages.bismuth
kdeconnect
firefox
thunderbird
remmina

4
os/system/security.nix Normal file
View File

@@ -0,0 +1,4 @@
{ pkgs, ... }: {
security.polkit.enable = true;
security.rtkit.enable = true;
}

View File

@@ -1,7 +1,6 @@
{ pkgs, ... }: {
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;