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,12 +1,11 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
unixName,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./niri.nix
|
||||
];
|
||||
imports = lib.youthlic.loadImports ./.;
|
||||
youthlic = {
|
||||
xdg-dirs.enable = true;
|
||||
programs = let
|
||||
|
|
|
|||
|
|
@ -1,12 +1,11 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
unixName,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./niri.nix
|
||||
];
|
||||
imports = lib.youthlic.loadImports ./.;
|
||||
youthlic = {
|
||||
xdg-dirs.enable = true;
|
||||
programs = let
|
||||
|
|
|
|||
|
|
@ -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 ./.;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,13 @@
|
|||
{inputs, ...}: {
|
||||
{
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
imports =
|
||||
(with inputs; [
|
||||
niri-flake.homeModules.niri
|
||||
stylix.homeManagerModules.stylix
|
||||
chaotic.homeManagerModules.default
|
||||
])
|
||||
++ [
|
||||
./nix.nix
|
||||
];
|
||||
++ (lib.youthlic.loadImports ./.);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
{inputs, ...}: {
|
||||
{
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
imports =
|
||||
(with inputs; [
|
||||
sops-nix.homeManagerModules.sops
|
||||
betterfox-nix.homeManagerModules.betterfox
|
||||
])
|
||||
++ [
|
||||
./programs
|
||||
./xdg-dirs.nix
|
||||
./i18n
|
||||
];
|
||||
++ lib.youthlic.loadImports ./.;
|
||||
|
||||
config = {
|
||||
programs.direnv = {
|
||||
|
|
|
|||
|
|
@ -1,21 +1,3 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./rustypaste-cli.nix
|
||||
./atuin.nix
|
||||
./bash.nix
|
||||
./fish.nix
|
||||
./kvm.nix
|
||||
./starship
|
||||
./gpg
|
||||
./sops.nix
|
||||
./git.nix
|
||||
./helix
|
||||
./jujutsu.nix
|
||||
./yazi.nix
|
||||
./zoxide.nix
|
||||
./fzf.nix
|
||||
./eza.nix
|
||||
./ion.nix
|
||||
./awscli.nix
|
||||
];
|
||||
{lib, ...}: {
|
||||
imports = lib.youthlic.loadImports ./.;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue