mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 19:27:17 +00:00
Removes the apps directory (and contents)
This commit is contained in:
parent
8fa83a3bd0
commit
6c212f5d58
4 changed files with 0 additions and 60 deletions
|
@ -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 . "$@"
|
||||
'';
|
||||
}
|
|
@ -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 "$@"
|
||||
'';
|
||||
}
|
|
@ -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 "$@"
|
||||
'';
|
||||
}
|
|
@ -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 . "$@"
|
||||
'';
|
||||
}
|
Loading…
Add table
Reference in a new issue