diff options
| author | Grace Yoder <grace_yoder@outlook.com> | 2026-09-24 19:47:24 -0400 |
|---|---|---|
| committer | Grace Yoder <grace_yoder@outlook.com> | 2026-09-25 13:06:20 -0400 |
| commit | f6d8e3253f9aadce26cb9f7d51245e2691cd8627 (patch) | |
| tree | 84193b09b5e174737e165d6c22b2bc2c8935c9f2 /darwin.nix | |
| parent | ddf0c7981fbeaa6a45591a66132a330c804259ec (diff) | |
loadable hosts
Diffstat (limited to 'darwin.nix')
| -rwxr-xr-x | darwin.nix | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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; }; |
