mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
Fix sumireko shell apply
This commit is contained in:
parent
f3a467deb5
commit
84351416d6
2 changed files with 8 additions and 7 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue