nixos: Evaluation fixes

This commit is contained in:
kat witch 2021-04-25 21:59:27 +01:00
parent 8339072f08
commit f2c4760d55
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72

View file

@ -4,10 +4,10 @@
imports = [
(import (./hosts + "/${hostName}/nixos"))
(import (./private/hosts + "/${hostName}/nixos"))
./profiles/common/nixos.nix
./private/profile/nixos
];
] ++ lib.optional (builtins.pathExists ./private/hosts) (import (./private/hosts + "/${hostName}/nixos"))
++ lib.optional (builtins.pathExists ./private/profile) ./private/profile/nixos;
options = {
deploy.profile.kat = lib.mkEnableOption "uhh meow";