Refactor
This commit is contained in:
parent
9ae9d54e32
commit
ce1a70168a
1 changed files with 11 additions and 9 deletions
|
@ -1,4 +1,8 @@
|
|||
{osConfig, ...}: {
|
||||
{
|
||||
osConfig,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports =
|
||||
[
|
||||
./programs
|
||||
|
@ -11,8 +15,8 @@
|
|||
./zsh.nix
|
||||
]
|
||||
++ (
|
||||
if osConfig.hm-pedro.de != "none"
|
||||
then [
|
||||
lib.lists.optionals (osConfig.hm-pedro.de != "none")
|
||||
[
|
||||
./browsers
|
||||
./gtk.nix
|
||||
./kitty.nix
|
||||
|
@ -22,16 +26,14 @@
|
|||
./spotify.nix
|
||||
./vscodium.nix
|
||||
]
|
||||
else []
|
||||
)
|
||||
++ (
|
||||
if osConfig.hm-pedro.de == "hyprland"
|
||||
then [
|
||||
lib.lists.optionals (osConfig.hm-pedro.de == "hyprland")
|
||||
[
|
||||
./hyprland
|
||||
./scripts
|
||||
./waybar
|
||||
./mako.nix
|
||||
]
|
||||
else []
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue