plasma-manager added
This commit is contained in:
parent
bb8d36c094
commit
8e29b1b825
6 changed files with 95 additions and 42 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue