diff options
author | Azat Bahawi <azat@bahawi.net> | 2024-04-21 02:15:42 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2024-04-21 02:15:42 +0300 |
commit | e6ed60548397627bf10f561f9438201dbba0a36e (patch) | |
tree | f9a84c5957d2cc4fcd148065ee9365a0c851ae1c /packages/nixfiles.nix | |
parent | 2024-04-18 (diff) |
2024-04-21
Diffstat (limited to '')
-rw-r--r-- | packages/nixfiles.nix | 8 |
1 files changed, 2 insertions, 6 deletions
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 |