♻️ config refactor cleanup

This commit is contained in:
2023-07-27 15:51:15 -04:00
parent d4b4ba1d1e
commit 19a01e278e
8 changed files with 22 additions and 31 deletions

View File

@ -1,16 +1,13 @@
{ system, self, ... }:
with self.pkgs.${system};
{ system, pkgs, self, ... }:
let
darwin-local = writeScriptBin "darwin-local" ''
#!${stdenv.shell}
darwin-local = pkgs.writeScriptBin "darwin-local" ''
#!${pkgs.stdenv.shell}
nix build .#darwinConfigurations.$(hostname -s).system
./result/sw/bin/darwin-rebuild switch --flake .
'';
in
{
default = mkShell {
default = pkgs.mkShell {
name = "athens";
buildInputs = with pkgs; [
darwin-local