chore(flake): move user inputs to related files
This commit is contained in:
parent
549c3b3fd8
commit
897276714a
2 changed files with 22 additions and 9 deletions
15
flake/inputs/home/Sk7Str1p3.nix
Normal file
15
flake/inputs/home/Sk7Str1p3.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
|
|
@ -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 ./.))
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue