further improvements

This commit is contained in:
christoph.hollizeck 2024-03-26 19:20:50 +01:00 committed by Christoph Hollizeck
parent 8f6e59d683
commit eb46317121
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
7 changed files with 41 additions and 31 deletions

View file

@ -1,9 +1,4 @@
{ options
, config
, lib
, pkgs
, ...
}:
{ options, config, lib, pkgs, ... }:
with lib;
with lib.wyrdgard;
let
@ -16,7 +11,11 @@ in
config = mkIf cfg.enable {
environment.systemPackages = [
neofetch
fd
tree
ripgrep
];
wyrdgard = {

View file

@ -1,9 +1,8 @@
{ options, config, lib, pkgs, ... }:
with lib;
with lib.wyrdgard;
let cfg = config.wyrdgard.submodules.games;
let
cfg = config.wyrdgard.submodules.games;
in
{
options.wyrdgard.submodules.games = with types; {
@ -11,6 +10,10 @@ in
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
prismlauncher
];
wyrdgard = {
apps = {
steam = enabled;

View file

@ -10,5 +10,15 @@ in
enable = mkBoolOpt false "Whether to enable a graphical interface";
};
config = mkIf cfg.enable {
services.xserver = {
enable = true;
displayManager.sddm = {
enable = true;
wayland.enable = true;
};
desktopManager.plasma5.enable = true;
};
};
}