Auto-commit: 2026-01-05 06:50:23

This commit is contained in:
2026-01-05 06:50:23 +00:00
parent c204ac3c06
commit 82627ba5fa
6 changed files with 20 additions and 0 deletions

20
home/desktop/default.nix Normal file
View File

@@ -0,0 +1,20 @@
{ lib, ... }:
let
b = builtins;
module_files =
b.readDir ./. |>
lib.filterAttrs (name: type:
( (lib.strings.hasSuffix ".nix" name
&& name != "default.nix"
&& type == "regular" )
|| ( type == "directory"
&& b.pathExists ./${name}/default.nix))
) |>
b.attrNames |>
b.map (f: ./${f});
in
{
imports = module_files;
nixpkgs.config.allowUnfree = true;
}