summaryrefslogtreecommitdiff
path: root/darwin.nix
diff options
context:
space:
mode:
authorGrace Yoder <grace_yoder@outlook.com>2026-09-24 19:47:24 -0400
committerGrace Yoder <grace_yoder@outlook.com>2026-09-25 13:06:20 -0400
commitf6d8e3253f9aadce26cb9f7d51245e2691cd8627 (patch)
tree84193b09b5e174737e165d6c22b2bc2c8935c9f2 /darwin.nix
parentddf0c7981fbeaa6a45591a66132a330c804259ec (diff)
loadable hosts
Diffstat (limited to 'darwin.nix')
-rwxr-xr-xdarwin.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/darwin.nix b/darwin.nix
index 978af1b..6e339c3 100755
--- a/darwin.nix
+++ b/darwin.nix
@@ -6,16 +6,15 @@
}:
let
- paneru = builtins.getFlake "github:karinushka/paneru/bcf248ef60aa4c0b49002161b97bc6e268b05aa7";
- hostName = import ./host.nix;
- primaryUser = if lib.hasSuffix "cs.purdue.edu" hostName then "yoder177" else "grace";
+ paneru = builtins.getFlake "github:karinushka/paneru/5a033bc3a59f752ae72944f06945ab13cc570e04";
+ host = import ./host.nix;
in
{
imports = [ paneru.darwinModules.paneru ];
nixpkgs.config.allowUnfree = true;
nixpkgs.hostPlatform = "aarch64-darwin";
- networking.hostName = hostName;
+ networking.hostName = host.name;
environment.systemPackages = [
pkgs.raycast
@@ -23,7 +22,7 @@ in
];
system = {
- primaryUser = primaryUser;
+ primaryUser = host.user;
stateVersion = 7;
};