Files
nixos-dotfiles/modules/default.nix
2025-07-22 02:30:15 +02:00

35 lines
471 B
Nix

{
modulesPath,
inputs,
lib,
...
}@attrs:
let
hostname = "${attrs.hostname}";
secrets = inputs.mysecrets;
in
{
imports =
[
(modulesPath + "/installer/scan/not-detected.nix")
./common
./grub
./networking
./sops
./sshd
./tty
./user
]
++ lib.optionals
(builtins.elem hostname [
"test-kvm"
"home-nix"
])
[
./desktop
./libvirt
./ssh
];
}