From 1cfe7951afcc286e52028aab0b7a56a484e2b70c Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 28 May 2022 00:46:55 +0200 Subject: [PATCH] modules/system-info: init --- modules/default.nix | 2 ++ modules/system-info/default.nix | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 modules/system-info/default.nix diff --git a/modules/default.nix b/modules/default.nix index 303a907..64f0dd8 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -22,6 +22,7 @@ let shell-config = import ./shell-config; ssh = import ./ssh; sss = import ./sss; + system-info = import ./system-info; system-recovery = import ./system-recovery; }; in rec { @@ -33,6 +34,7 @@ in rec { maintenance minimal motd + system-info ]; networking = [ diff --git a/modules/system-info/default.nix b/modules/system-info/default.nix new file mode 100644 index 0000000..1269f44 --- /dev/null +++ b/modules/system-info/default.nix @@ -0,0 +1,5 @@ +{ inputs, ... }: + +{ + system.configurationRevision = inputs.self.rev or null; +}