From ac1759e3e1b31e56d092cd4cf79fca31df9d06e1 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Fri, 8 Nov 2024 15:58:19 -0800 Subject: Add experimental command settings back to @iso and fix nix shell shebang --- flake.nix | 2 +- scripts/install-with-disko | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 018d881..e10ca1b 100644 --- a/flake.nix +++ b/flake.nix @@ -96,7 +96,7 @@ "${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix" ({ #isoImage.squashfsCompression = "gzip -Xcompression-level 1"; - #nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; users.users = { nixos.openssh.authorizedKeys.keys = [ (builtins.readFile ./hosts/common/users/nipsy/keys/id_arrakis.pub) ]; root.openssh.authorizedKeys.keys = [ (builtins.readFile ./hosts/common/users/nipsy/keys/id_arrakis.pub) ]; diff --git a/scripts/install-with-disko b/scripts/install-with-disko index f95dc4c..dce7c88 100755 --- a/scripts/install-with-disko +++ b/scripts/install-with-disko @@ -1,5 +1,5 @@ -#!/usr/bin/env nix-shell -#!nix-shell -i zsh --packages rsync zsh +#!/usr/bin/env nix +#!nix shell nixpkgs#rsync nixpkgs#zsh --command zsh setopt ERR_EXIT NO_UNSET PIPE_FAIL -- cgit v1.2.3