move niri setup to one folder

This commit is contained in:
twoneis 2024-07-02 02:35:36 +02:00
parent 5af0909a70
commit e0d9c1c57c
10 changed files with 329 additions and 362 deletions

View file

@ -1,17 +1,4 @@
{ config, lib, ... }: let
modules = lib.lists.flatten [
(if config.withNiri then [
./niri-setup
./themes
] else [])
(if config.withGnome then [
./themes
] else [])
(if config.full then [
./programs
] else [])
];
in {
{ ... }: {
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
@ -19,7 +6,9 @@ in {
users.twoneis = {
imports = [
./utils
] ++ modules;
./programs
./themes
];
home = {
username = "twoneis";