chore(flake): move user inputs to related files

This commit is contained in:
Sk7Str1p3 2026-06-25 15:48:13 +00:00
parent 549c3b3fd8
commit 897276714a
Signed by: Sk7Str1p3
SSH key fingerprint: SHA256:GcXqjfo0IHK280c6aH9o5SmcOWyqMS8gjfOtDQ3gr/Q
2 changed files with 22 additions and 9 deletions

View file

@ -0,0 +1,15 @@
# User inputs :: Sk7Str1p3
/**
Inputs used by user `Sk7Str1p3`
*/
{ ... }:
{
/**
Flake for configuring Niri.
Used because home-manager does not support Niri yet.
*/
niri = {
url = "github:sodiboo/niri-flake";
};
}

View file

@ -3,7 +3,8 @@
/**
Inputs providing modules or packages for user configurations. Check next chapters to learn more.
*/
{ ... }: {
{ lib, ... }:
{
/**
System for managing a user environment.
Allows declarative configuration of user specific (non-global) packages and dotfiles.
@ -17,12 +18,9 @@
stylix = {
url = "github:nix-community/stylix";
};
/**
Flake for configuring Niri.
Used because home-manager does not support Niri yet.
*/
niri = {
url = "github:sodiboo/niri-flake";
};
}
// lib.foldl' (acc: value: lib.recursiveUpdate acc value) { } (
map (file: import ./${file} { inherit lib; }) (
builtins.filter (name: name != "default.nix") (builtins.attrNames (builtins.readDir ./.))
)
)