From 2e15bbd6edea56ecd9f07c35ac9d48b13b1ef6fc Mon Sep 17 00:00:00 2001 From: clerie Date: Sun, 26 Feb 2023 22:23:20 +0100 Subject: [PATCH] modules/nixfiles: remove install and rebuild wrapper --- modules/nixfiles/default.nix | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/modules/nixfiles/default.nix b/modules/nixfiles/default.nix index d175eef..7b4829e 100644 --- a/modules/nixfiles/default.nix +++ b/modules/nixfiles/default.nix @@ -50,16 +50,6 @@ let sed -i "s/\%HOSTNAME\%/''${hostname}/g" ''${root}/etc/nixos/hosts/''${hostname}/configuration.nix ''; - nixfiles-install = pkgs.writeScriptBin "nixfiles-install" '' - #!${pkgs.bash}/bin/bash - nixos-install --flake /etc/nixos $@ - ''; - - nixfiles-rebuild = pkgs.writeScriptBin "nixfiles-rebuild" '' - #!${pkgs.bash}/bin/bash - nixos-rebuild --flake /etc/nixos $@ - ''; - in { options.clerie.nixfiles.enable = mkEnableOption "clerie nixfiles tools"; config = mkIf config.clerie.nixfiles.enable {