From 84351416d6ad312a173b4627cb849e2c8c6a8377 Mon Sep 17 00:00:00 2001 From: kat Date: Wed, 13 Apr 2022 10:43:31 +0100 Subject: [PATCH] Fix sumireko shell apply --- config/hosts/sumireko.nix | 11 ++++++----- devShell.nix | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/config/hosts/sumireko.nix b/config/hosts/sumireko.nix index ee844866..9712369a 100644 --- a/config/hosts/sumireko.nix +++ b/config/hosts/sumireko.nix @@ -1,8 +1,8 @@ { config, pkgs, lib, meta, ... }: { imports = with meta; [ - profiles.darwin - users.kat.darwin - users.kat.dev + profiles.darwin + users.kat.darwin + users.kat.dev ]; services.nix-daemon.enable = true; nix = { @@ -16,11 +16,12 @@ brewPrefix = "/opt/homebrew/bin"; casks = [ "element" + "visual-studio-code" ]; }; environment.systemPackages = with pkgs; [ - awscli - jq + awscli + jq ]; programs.zsh = { diff --git a/devShell.nix b/devShell.nix index 51842f41..d463bb9f 100644 --- a/devShell.nix +++ b/devShell.nix @@ -33,8 +33,8 @@ let fi ''; sumireko-apply = pkgs.writeShellScriptBin "sumireko-apply" '' - nix build ${./.}#darwinConfigurations.sumireko.system - darwin-rebuild switch --flake ${./.}#sumireko + nix build ${toString ./.}#darwinConfigurations.sumireko.system + darwin-rebuild switch --flake ${toString ./.}#sumireko ''; in with lib; pkgs.mkShell {