diff --git a/docs/config/_default/markup.toml b/docs/config/_default/markup.toml index e74d4510..56830130 100644 --- a/docs/config/_default/markup.toml +++ b/docs/config/_default/markup.toml @@ -27,7 +27,7 @@ icontype = "svg" # Project-wide attributes to be used. github-repo = "foo-dogsquared/nixos-config" -check-variable = "_isInsideFds" +check-variable = "_isfoodogsquaredcustom" canonical-flake-url = "github:foo-dogsquared/nixos-config" canonical-source-repo = "https://github.com/foo-dogsquared/nixos-config" canonical-flake-url-tarball-master = "https://github.com/foo-dogsquared/nixos-config/archive/master.tar.gz" diff --git a/lib/private.nix b/lib/private.nix index d0786360..49a10a44 100644 --- a/lib/private.nix +++ b/lib/private.nix @@ -27,7 +27,7 @@ rec { getSecret = path: ../secrets/${path}; - isInternal = config: config ? _isInsideFds && config._isInsideFds; + isInternal = config: config ? _isfoodogsquaredcustom && config._isfoodogsquaredcustom; getUsers = type: users: let diff --git a/modules/nixos/profiles/README.adoc b/modules/nixos/profiles/README.adoc index 26260a81..bef586b7 100644 --- a/modules/nixos/profiles/README.adoc +++ b/modules/nixos/profiles/README.adoc @@ -1,6 +1,6 @@ = Profiles :toc: -:check_variable: _isInsideFds +:check_variable: _isfoodogsquaredcustom We're defining profiles after how link:https://digga.divnix.com/concepts/profiles.html[digga library from divnix defines it]. diff --git a/modules/nixos/workflows/a-happy-gnome/default.nix b/modules/nixos/workflows/a-happy-gnome/default.nix index b6551bb7..99c47638 100644 --- a/modules/nixos/workflows/a-happy-gnome/default.nix +++ b/modules/nixos/workflows/a-happy-gnome/default.nix @@ -168,7 +168,7 @@ in } # Check whether this is inside of my personal configuration or nah. - (lib.mkIf (lib.isInternal config) { + (lib.mkIf (attrs ? _isfoodogsquaredcustom && attrs._isfoodogsquaredcustom) { profiles.i18n = lib.mkDefault { enable = true; ibus.enable = true;