|
13 | 13 | flake.darwinConfigurations = { |
14 | 14 | # scutil --get LocalHostName |
15 | 15 | "Jan-Philips-MacBook-Pro" = darwinSystem { |
16 | | - system = "aarch64-darwin"; |
| 16 | + stdenv.hostPlatform.system = "aarch64-darwin"; |
17 | 17 | inherit specialArgs; |
18 | 18 |
|
19 | 19 | modules = [ |
|
33 | 33 | }; |
34 | 34 | }; |
35 | 35 |
|
36 | | - flake.nixosConfigurations = |
37 | | - let |
38 | | - system = "aarch64-linux"; |
39 | | - in |
40 | | - { |
41 | | - # minimal pi for bootstrapping and quick testing |
42 | | - pi-minimal = nixosSystem { |
43 | | - inherit system specialArgs; |
| 36 | + flake.nixosConfigurations = { |
| 37 | + # minimal pi for bootstrapping and quick testing |
| 38 | + pi-minimal = nixosSystem { |
| 39 | + inherit system specialArgs; |
44 | 40 |
|
45 | | - modules = [ |
46 | | - inputs.raspberry-pi-nix.nixosModules.raspberry-pi |
47 | | - ./pi/pi-config.nix |
48 | | - ]; |
49 | | - }; |
| 41 | + modules = [ |
| 42 | + inputs.raspberry-pi-nix.nixosModules.raspberry-pi |
| 43 | + ./pi/pi-config.nix |
| 44 | + ]; |
| 45 | + }; |
50 | 46 |
|
51 | | - # full pi configuration |
52 | | - pi = nixosSystem { |
53 | | - inherit system specialArgs; |
| 47 | + # full pi configuration |
| 48 | + pi = nixosSystem { |
| 49 | + inherit system specialArgs; |
54 | 50 |
|
55 | | - modules = [ |
56 | | - inputs.raspberry-pi-nix.nixosModules.raspberry-pi |
57 | | - ./pi |
58 | | - inputs.home-manager.nixosModules.home-manager |
59 | | - { |
60 | | - home-manager.useGlobalPkgs = true; |
61 | | - home-manager.useUserPackages = true; |
62 | | - home-manager.extraSpecialArgs = specialArgs // { |
63 | | - headless = true; |
64 | | - }; |
65 | | - } |
66 | | - (import ../users/jloos) |
67 | | - ]; |
68 | | - }; |
| 51 | + modules = [ |
| 52 | + inputs.raspberry-pi-nix.nixosModules.raspberry-pi |
| 53 | + ./pi |
| 54 | + inputs.home-manager.nixosModules.home-manager |
| 55 | + { |
| 56 | + home-manager.useGlobalPkgs = true; |
| 57 | + home-manager.useUserPackages = true; |
| 58 | + home-manager.extraSpecialArgs = specialArgs // { |
| 59 | + headless = true; |
| 60 | + }; |
| 61 | + } |
| 62 | + (import ../users/jloos) |
| 63 | + ]; |
69 | 64 | }; |
| 65 | + }; |
70 | 66 |
|
71 | 67 | imports = [ |
72 | 68 | ./pi/flake-module.nix |
|
0 commit comments