diff options
Diffstat (limited to 'modules/system/version/default.nix')
-rw-r--r-- | modules/system/version/default.nix | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/modules/system/version/default.nix b/modules/system/version/default.nix deleted file mode 100644 index 77cada14..00000000 --- a/modules/system/version/default.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ - config, - lib, - self, - ... -}: let - cfg = config.soispha.version; -in { - options.soispha.version = { - enable = lib.mkEnableOption "storing the git revision in /etc/nixos_git_rev"; - }; - config = lib.mkIf cfg.enable { - environment.etc.nixos_git_rev = { - text = builtins.toString (self.longRev - or self.lastModified - or "unknown"); - }; - }; -} |