first try plasma
This commit is contained in:
parent
67d30ccfe7
commit
d5b8a1fff9
3 changed files with 27 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
{
|
||||
imports =
|
||||
[
|
||||
../../modules/hyprland.nix
|
||||
../../modules
|
||||
../../modules/games
|
||||
../../modules/applications
|
||||
../../common/nvim/nvim.nix
|
||||
|
|
@ -27,7 +27,8 @@
|
|||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
modules = {
|
||||
hyprland.enable = true;
|
||||
hyprland.enable = false;
|
||||
plasma.enable = true;
|
||||
games.enable = true;
|
||||
apps = {
|
||||
enable = true;
|
||||
|
|
|
|||
8
modules/default.nix
Normal file
8
modules/default.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{...}:
|
||||
{
|
||||
imports = [
|
||||
./hyprland.nix
|
||||
./plasma
|
||||
./games
|
||||
];
|
||||
}
|
||||
16
modules/plasma/default.nix
Normal file
16
modules/plasma/default.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue