File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 115115 raisin = { } ;
116116 zeph = { } ;
117117 } ;
118+ "riscv64-linux" = {
119+ jupitertwo = {
120+ extraConfig = [ { nixpkgs . buildPlatform . system = "x86_64-linux" ; } ] ;
121+ } ;
122+ } ;
118123 "aarch64-linux" = { } ;
119124 "aarch64-darwin" = { } ;
120125 } ;
Original file line number Diff line number Diff line change 1+ { pkgs , inputs , ... } :
2+
3+ let
4+ hn = "jupitertwo" ;
5+ in
6+ {
7+ imports = [
8+ #../../profiles/interactive.nix
9+ ../../profiles/core.nix
10+ ../../mixins/common.nix
11+
12+ #inputs.determinate.nixosModules.default
13+
14+ "${ inputs . nixos-hardware-k3 } /spacemit/k3-pico-itx"
15+ ] ;
16+
17+ config = {
18+ nixpkgs . hostPlatform . system = "riscv64-linux" ;
19+ system . stateVersion = "26.05" ;
20+
21+ time . timeZone = "America/Chicago" ;
22+
23+ networking . hostName = hn ;
24+ nixcfg . common . hostColor = "blue" ;
25+ nixcfg . common . wifiWorkaround = true ;
26+
27+ services . tailscale . useRoutingFeatures = "server" ;
28+
29+ systemd . network . enable = true ;
30+
31+ fileSystems = {
32+ "/" = {
33+ fsType = "ext4" ;
34+ device = "/dev/disk/by-partlabel/root" ;
35+ neededForBoot = true ;
36+ } ;
37+ "/boot" = {
38+ fsType = "vfat" ;
39+ device = "/dev/disk/by-partlabel/boot" ;
40+ neededForBoot = true ;
41+ } ;
42+ } ;
43+ swapDevices = [ { device = "/dev/disk/by-partlabel/swap" ; } ] ;
44+ } ;
45+ }
You can’t perform that action at this time.
0 commit comments