formatting
This commit is contained in:
@@ -5,12 +5,12 @@ in
|
|||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
(pkgs.writeShellScriptBin "nfs" ''
|
(pkgs.writeShellScriptBin "nfs" ''
|
||||||
sudo nixos-rebuild switch --flake $(readlink -f /etc/nixos)#${hostName} --impure
|
sudo nixos-rebuild switch --flake $(readlink -f /etc/nixos)#${hostName} --impure
|
||||||
'')
|
'')
|
||||||
(pkgs.writeShellScriptBin "nfsu" ''
|
(pkgs.writeShellScriptBin "nfsu" ''
|
||||||
FLAKE=$(readlink -f /etc/nixos)
|
FLAKE=$(readlink -f /etc/nixos)
|
||||||
nix flake update --flake $FLAKE --impure
|
nix flake update --flake $FLAKE --impure
|
||||||
sudo nixos-rebuild switch --flake $FLAKE#${hostName} --impure
|
sudo nixos-rebuild switch --flake $FLAKE#${hostName} --impure
|
||||||
'')
|
'')
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user