meta: Use separate directory for home-manager modules

This commit is contained in:
Donovan Glover 2023-06-16 08:12:58 -04:00
parent cac5d0c159
commit 181ea09092
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
19 changed files with 19 additions and 16 deletions

View File

@ -24,7 +24,7 @@ in
];
home-manager.sharedModules = [
../modules/git
../home/git
];
users = {

16
home/default.nix Normal file
View File

@ -0,0 +1,16 @@
{
home-manager.sharedModules = [
./dunst
./feh
./git
./gpg
./kitty
./mime-apps
./mpv
./ncmpcpp
./qutebrowser
./rofi
./waybar
./zathura
];
}

View File

@ -16,19 +16,4 @@
./waycorner
./xdg-user-dirs
];
home-manager.sharedModules = [
./dunst
./feh
./git
./gpg
./kitty
./mime-apps
./mpv
./ncmpcpp
./qutebrowser
./rofi
./waybar
./zathura
];
}

View File

@ -13,6 +13,7 @@ let VARIABLES = import ./variables.nix; in {
"${VARIABLES.hostHardwareConfiguration}"
../overlays
../modules
../home
../containers/rar.nix
../containers/wine.nix
../containers/dev.nix

View File

@ -3,6 +3,7 @@ require "./methods/*"
check_top_level_imports("modules")
check_top_level_imports("overlays")
check_top_level_imports("home")
describe "./overlays/joshuto/default.nix", tags: "online" do
it "uses the latest joshuto commit" do