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 =
|
imports =
|
||||||
[
|
[
|
||||||
./programs
|
./programs
|
||||||
|
@ -11,8 +15,8 @@
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
]
|
]
|
||||||
++ (
|
++ (
|
||||||
if osConfig.hm-pedro.de != "none"
|
lib.lists.optionals (osConfig.hm-pedro.de != "none")
|
||||||
then [
|
[
|
||||||
./browsers
|
./browsers
|
||||||
./gtk.nix
|
./gtk.nix
|
||||||
./kitty.nix
|
./kitty.nix
|
||||||
|
@ -22,16 +26,14 @@
|
||||||
./spotify.nix
|
./spotify.nix
|
||||||
./vscodium.nix
|
./vscodium.nix
|
||||||
]
|
]
|
||||||
else []
|
)
|
||||||
)
|
|
||||||
++ (
|
++ (
|
||||||
if osConfig.hm-pedro.de == "hyprland"
|
lib.lists.optionals (osConfig.hm-pedro.de == "hyprland")
|
||||||
then [
|
[
|
||||||
./hyprland
|
./hyprland
|
||||||
./scripts
|
./scripts
|
||||||
./waybar
|
./waybar
|
||||||
./mako.nix
|
./mako.nix
|
||||||
]
|
]
|
||||||
else []
|
);
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue