Prepare for new IVR Mac machine
Getting code prepared for arrival of the new Mac system Adding the basic casks that I need
This commit is contained in:
+2
-3
@@ -1,12 +1,12 @@
|
||||
{ top, overlays, ... }:
|
||||
let
|
||||
inherit (top.nixunstable) lib;
|
||||
mac =
|
||||
{
|
||||
system ? "aarch64-darwin",
|
||||
name,
|
||||
channel ? top.nixunstable,
|
||||
hm ? top.hmunstable,
|
||||
extraMods ? [ ],
|
||||
}:
|
||||
let
|
||||
nixpkgs = import channel { inherit system overlays; };
|
||||
@@ -26,8 +26,7 @@ let
|
||||
}
|
||||
hm.darwinModules.home-manager
|
||||
top.self.modules.darwinModule
|
||||
./${name}
|
||||
] ++ extraMods;
|
||||
] ++ lib.optionals (builtins.pathExists ./hosts/${name}) [ ./hosts/${name} ];
|
||||
};
|
||||
in
|
||||
rec {
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
{ ... }:
|
||||
{
|
||||
homebrews = {
|
||||
enable = true;
|
||||
casks = [
|
||||
"firefox"
|
||||
"onlyoffice"
|
||||
"zed"
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{ ... }:
|
||||
{
|
||||
imports = [ ../baseline.nix ];
|
||||
system.stateVersion = 4;
|
||||
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
users."gregory.hellings" = import ../../home/home.nix;
|
||||
@@ -11,14 +11,20 @@
|
||||
home = "/Users/gregory.hellings";
|
||||
};
|
||||
};
|
||||
users.users."gregory.hellings".home = "/Users/gregory.hellings";
|
||||
programs = {
|
||||
zsh.enable = true;
|
||||
bash.enable = true;
|
||||
};
|
||||
services.nix-daemon.enable = true;
|
||||
|
||||
nix = {
|
||||
gc.interval.Hour = 24;
|
||||
settings.auto-optimise-store = false; # Darwin bugs?
|
||||
};
|
||||
|
||||
programs = {
|
||||
zsh.enable = true;
|
||||
bash.enable = true;
|
||||
};
|
||||
|
||||
services.nix-daemon.enable = true;
|
||||
|
||||
system.stateVersion = 4;
|
||||
|
||||
users.users."gregory.hellings".home = "/Users/gregory.hellings";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user