Add extra function for lib, and refactor with loadImports
This commit is contained in:
parent
317a2b4a28
commit
2c997cddce
28 changed files with 111 additions and 204 deletions
|
|
@ -1,9 +1,9 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./wallpaper.nix
|
||||
./programs
|
||||
./emails.nix
|
||||
];
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = lib.youthlic.loadImports ./.;
|
||||
config = {
|
||||
youthlic.programs = {
|
||||
zoxide.enable = true;
|
||||
|
|
|
|||
|
|
@ -1,22 +1,3 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./openssh.nix
|
||||
./niri
|
||||
./wluma.nix
|
||||
./helix.nix
|
||||
./firefox.nix
|
||||
./waybar.nix
|
||||
./zed.nix
|
||||
./alacritty
|
||||
./ghostty.nix
|
||||
./fuzzel.nix
|
||||
./mpv.nix
|
||||
./swaylock.nix
|
||||
./thunderbird.nix
|
||||
./chromium.nix
|
||||
./foot
|
||||
./swaync.nix
|
||||
./espanso.nix
|
||||
./waypaper.nix
|
||||
];
|
||||
{lib, ...}: {
|
||||
imports = lib.youthlic.loadImports ./.;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue