From 6c212f5d588d4036ecbf6c5b9354db63fa45981e Mon Sep 17 00:00:00 2001 From: willemml Date: Thu, 9 Nov 2023 14:11:51 -0800 Subject: [PATCH] Removes the apps directory (and contents) --- apps/darwin-switch.nix | 17 ----------------- apps/home-build.nix | 13 ------------- apps/home-switch.nix | 13 ------------- apps/nixos-switch.nix | 17 ----------------- 4 files changed, 60 deletions(-) delete mode 100644 apps/darwin-switch.nix delete mode 100644 apps/home-build.nix delete mode 100644 apps/home-switch.nix delete mode 100644 apps/nixos-switch.nix diff --git a/apps/darwin-switch.nix b/apps/darwin-switch.nix deleted file mode 100644 index b95c8ec..0000000 --- a/apps/darwin-switch.nix +++ /dev/null @@ -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 . "$@" - ''; -} diff --git a/apps/home-build.nix b/apps/home-build.nix deleted file mode 100644 index f3b34f9..0000000 --- a/apps/home-build.nix +++ /dev/null @@ -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 "$@" - ''; -} diff --git a/apps/home-switch.nix b/apps/home-switch.nix deleted file mode 100644 index 467aceb..0000000 --- a/apps/home-switch.nix +++ /dev/null @@ -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 "$@" - ''; -} diff --git a/apps/nixos-switch.nix b/apps/nixos-switch.nix deleted file mode 100644 index 9d4f1c6..0000000 --- a/apps/nixos-switch.nix +++ /dev/null @@ -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 . "$@" - ''; -}