modules/nixfiles: remove install and rebuild wrapper
This commit is contained in:
parent
bdbe54a3f8
commit
2e15bbd6ed
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user