Removes the apps directory (and contents)

This commit is contained in:
willemml 2023-11-09 14:11:51 -08:00
parent 8fa83a3bd0
commit 6c212f5d58
Signed by: willemml
GPG key ID: C3DE5DF6198DACBD
4 changed files with 0 additions and 60 deletions

View file

@ -1,17 +0,0 @@
# Copyright (c) 2018 Terje Larsen
# This work is licensed under the terms of the MIT license.
# For a copy, see https://opensource.org/licenses/MIT.
# https://github.com/terlar/nix-config/blob/00c8a3622e8bc4cb522bbf335e6ede04ca07da40/apps/nixos-switch.nix
{
writeShellApplication,
gitMinimal,
nixVersions,
nixos-rebuild,
}:
writeShellApplication {
name = "darwin-switch";
runtimeInputs = [gitMinimal nixVersions.stable nixos-rebuild];
text = ''
exec darwin-rebuild switch --flake . "$@"
'';
}

View file

@ -1,13 +0,0 @@
{
writeShellApplication,
home-manager,
stdenv,
}:
writeShellApplication {
name = "home-build";
runtimeInputs = [home-manager];
text = ''
export FLAKE_CONFIG_URI=".#homeConfigurations.${stdenv.hostPlatform.system}.$USER"
exec home-manager build "$@"
'';
}

View file

@ -1,13 +0,0 @@
{
writeShellApplication,
home-manager,
stdenv,
}:
writeShellApplication {
name = "home-switch";
runtimeInputs = [home-manager];
text = ''
export FLAKE_CONFIG_URI=".#homeConfigurations.${stdenv.hostPlatform.system}.$USER"
exec home-manager switch "$@"
'';
}

View file

@ -1,17 +0,0 @@
# Copyright (c) 2018 Terje Larsen
# This work is licensed under the terms of the MIT license.
# For a copy, see https://opensource.org/licenses/MIT.
# https://github.com/terlar/nix-config/blob/00c8a3622e8bc4cb522bbf335e6ede04ca07da40/apps/nixos-switch.nix
{
writeShellApplication,
gitMinimal,
nixVersions,
nixos-rebuild,
}:
writeShellApplication {
name = "nixos-switch";
runtimeInputs = [gitMinimal nixVersions.stable nixos-rebuild];
text = ''
exec sudo nixos-rebuild switch --flake . "$@"
'';
}