From e6ed60548397627bf10f561f9438201dbba0a36e Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sun, 21 Apr 2024 02:15:42 +0300 Subject: 2024-04-21 --- packages/nixfiles.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'packages') diff --git a/packages/nixfiles.nix b/packages/nixfiles.nix index 9bb3ea6..e1dc0e4 100644 --- a/packages/nixfiles.nix +++ b/packages/nixfiles.nix @@ -5,7 +5,6 @@ nix, nvd, openssh, - stdenv, symlinkJoin, writeShellApplication, writeTextDir, @@ -21,7 +20,8 @@ let nix nvd openssh - ] ++ lib.optional stdenv.isLinux xdg-utils; + xdg-utils + ]; # Shamelessly appropriated from https://github.com/ncfavier/config. # Hopefully Naïm will not sue me for copyright infrigment. @@ -29,10 +29,6 @@ let nixfiles="''${NIXFILES:-.}" rebuild="nixos-rebuild" rebuild_opts=(--fast --use-remote-sudo) - if [[ "$(uname)" == Darwin ]]; then - rebuild="darwin-rebuild" - rebuild_opts=() - fi cmd=$1 shift case $cmd in -- cgit 1.4.1