better use of options
This commit is contained in:
parent
6cf1fb0554
commit
fc4faa4a1a
5 changed files with 15 additions and 15 deletions
|
@ -1,18 +1,18 @@
|
|||
{ config, ... }: let
|
||||
imp = if config.minimalHome then [
|
||||
./utils
|
||||
] else [
|
||||
./niri-setup
|
||||
./programs
|
||||
./themes
|
||||
./utils
|
||||
];
|
||||
in {
|
||||
{ config, ... }: {
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
users.twoneis = {
|
||||
imports = imp;
|
||||
imports = [
|
||||
./utils
|
||||
] ++ (if config.withNiri then [
|
||||
./niri-setup
|
||||
./themes
|
||||
] else []) ++ (if config.withGnome then [
|
||||
./themes
|
||||
] else []) ++ (if config.full then [
|
||||
./programs
|
||||
] else []);
|
||||
|
||||
home = {
|
||||
username = "twoneis";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue