docs: improve documentation
Some checks failed
Flake check / Check flake (push) Has been cancelled

This commit is contained in:
Leon Schwarzäugl 2025-07-16 18:19:37 +02:00
parent 51896dabea
commit 641a0cd84d
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
11 changed files with 2424 additions and 423 deletions

View file

@ -1,11 +1,10 @@
{ self, lib, ... }:
let
importNames = lib.swarselsystems.readNix "modules/nixos/common";
modulesPath = "${self}/modules";
in
{
imports = lib.swarselsystems.mkImports importNames "modules/nixos/common" ++ [
"${modulesPath}/home/common/sharedsetup.nix"
"${self}/modules/shared/sharedsetup.nix"
];

View file

@ -36,7 +36,9 @@ let
channel.enable = false;
registry = rec {
nixpkgs.flake = inputs.nixpkgs;
p = nixpkgs;
swarsel.flake = inputs.swarsel;
n = nixpkgs;
s = swarsel;
};
nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs;
};