first try plasma

This commit is contained in:
Noa Aarts 2024-06-19 11:37:44 +02:00
parent 67d30ccfe7
commit d5b8a1fff9
3 changed files with 27 additions and 2 deletions

View file

@ -3,7 +3,7 @@
{ {
imports = imports =
[ [
../../modules/hyprland.nix ../../modules
../../modules/games ../../modules/games
../../modules/applications ../../modules/applications
../../common/nvim/nvim.nix ../../common/nvim/nvim.nix
@ -27,7 +27,8 @@
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
modules = { modules = {
hyprland.enable = true; hyprland.enable = false;
plasma.enable = true;
games.enable = true; games.enable = true;
apps = { apps = {
enable = true; enable = true;

8
modules/default.nix Normal file
View file

@ -0,0 +1,8 @@
{...}:
{
imports = [
./hyprland.nix
./plasma
./games
];
}

View file

@ -0,0 +1,16 @@
{ config, lib, pkgs, inputs, ... }:
let
cfg = config.modules.plasma;
in
{
options.modules.plasma = {
enable = lib.mkEnableOption "enable kde plasma 6";
};
imports = [
];
config = lib.mkIf cfg.enable {
services.desktopManager.plasma6.enable = true;
};
}