♻️ config refactor cleanup

This commit is contained in:
walkah committed 2023-07-27 15:51:15 -04:00
1 parent d4b4ba1d1e
commit 19a01e278e
8 files changed
+22 -31

No files matched your search

+4 -7
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