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, ... }:
|
{ top, overlays, ... }:
|
||||||
let
|
let
|
||||||
|
inherit (top.nixunstable) lib;
|
||||||
mac =
|
mac =
|
||||||
{
|
{
|
||||||
system ? "aarch64-darwin",
|
system ? "aarch64-darwin",
|
||||||
name,
|
name,
|
||||||
channel ? top.nixunstable,
|
channel ? top.nixunstable,
|
||||||
hm ? top.hmunstable,
|
hm ? top.hmunstable,
|
||||||
extraMods ? [ ],
|
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
nixpkgs = import channel { inherit system overlays; };
|
nixpkgs = import channel { inherit system overlays; };
|
||||||
@@ -26,8 +26,7 @@ let
|
|||||||
}
|
}
|
||||||
hm.darwinModules.home-manager
|
hm.darwinModules.home-manager
|
||||||
top.self.modules.darwinModule
|
top.self.modules.darwinModule
|
||||||
./${name}
|
] ++ lib.optionals (builtins.pathExists ./hosts/${name}) [ ./hosts/${name} ];
|
||||||
] ++ extraMods;
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
homebrews = {
|
||||||
|
enable = true;
|
||||||
|
casks = [
|
||||||
|
"firefox"
|
||||||
|
"onlyoffice"
|
||||||
|
"zed"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [ ../baseline.nix ];
|
imports = [ ../baseline.nix ];
|
||||||
system.stateVersion = 4;
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
users."gregory.hellings" = import ../../home/home.nix;
|
users."gregory.hellings" = import ../../home/home.nix;
|
||||||
@@ -11,14 +11,20 @@
|
|||||||
home = "/Users/gregory.hellings";
|
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 = {
|
nix = {
|
||||||
gc.interval.Hour = 24;
|
gc.interval.Hour = 24;
|
||||||
settings.auto-optimise-store = false; # Darwin bugs?
|
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