mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-12 01:07:44 -05:00
More Cleaning Up Settings
This commit is contained in:
parent
aaf47f1d84
commit
3cf90819b3
5 changed files with 23 additions and 31 deletions
|
|
@ -2,5 +2,6 @@
|
|||
{
|
||||
imports = [
|
||||
./hardware
|
||||
./software
|
||||
];
|
||||
}
|
||||
6
modules/nixos/software/default.nix
Normal file
6
modules/nixos/software/default.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./gui.nix
|
||||
];
|
||||
}
|
||||
15
modules/nixos/software/gui.nix
Normal file
15
modules/nixos/software/gui.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue