diff options
Diffstat (limited to 'sys/srv/nix-helper.nix')
| -rw-r--r-- | sys/srv/nix-helper.nix | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/sys/srv/nix-helper.nix b/sys/srv/nix-helper.nix deleted file mode 100644 index 5eb3353..0000000 --- a/sys/srv/nix-helper.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ config, lib, pkgs, ... }: -let - cfg = config.sys.srv.nix-helper; -in -{ - options.sys.srv.nix-helper.enable = lib.mkEnableOption "enables nix-helper"; - config = lib.mkIf cfg.enable { - nix.settings = { - trusted-users = [ "root" "adam" ]; - experimental-features = [ "nix-command" "flakes" ]; - }; - - programs.nh = { - enable = true; - flake = "/etc/nixos"; - }; - - environment.systemPackages = with pkgs; [ - nix-output-monitor - nvd - ]; - }; -} |
