plasma-manager added

This commit is contained in:
twoneis 2024-06-30 13:06:40 +02:00
parent bb8d36c094
commit 8e29b1b825
6 changed files with 95 additions and 42 deletions

View file

@ -1,18 +1,30 @@
{ config, ... }: {
{ inputs, config, lib, ... }: let
modules = lib.lists.flatten [
(if config.withNiri then [
./niri-setup
./themes
] else [])
(if config.withGnome then [
./themes
] else [])
(if config.withPlasma then [
./plasma
./themes
] else [])
(if config.full then [
./programs
] else [])
];
in {
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
sharedModules = [ inputs.plasma-manager.homeManagerModules.plasma-manager ];
users.twoneis = {
imports = [
./utils
] ++ (if config.withNiri then [
./niri-setup
./themes
] else []) ++ (if config.withGnome then [
./themes
] else []) ++ (if config.full then [
./programs
] else []);
] ++ modules;
home = {
username = "twoneis";