More Cleaning Up Settings

This commit is contained in:
Annika Merris 2024-05-25 09:03:59 -04:00
parent aaf47f1d84
commit 3cf90819b3
5 changed files with 23 additions and 31 deletions

View file

@ -2,5 +2,6 @@
{
imports = [
./hardware
./software
];
}

View file

@ -0,0 +1,6 @@
{ ... }:
{
imports = [
./gui.nix
];
}

View file

@ -0,0 +1,15 @@
{ config, lib, pkgs, ... }:
{
config = lib.mkIf (config.gui.enable) {
services.xserver.enable = true;
services.displayManager.sddm.enable = true;
services.xserver = {
desktopManager.plasma5.enable = true;
xkb = {
layout = "us";
variant = "";
};
};
networking.networkmanager.enable = true;
};
}