aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-08-18 08:43:38 +0200
committerKarel Kočí <cynerd@email.cz>2022-08-18 08:43:38 +0200
commita03996d7a11edc84e231f513ef134f9f58d44ccf (patch)
tree632b6e139d8c2d291353b40fc5f1f3757843c4f6 /flake.nix
parentd558ed3b71a0c51338c1cffcf648dc6a0e3ecf5b (diff)
downloadnixos-personal-a03996d7a11edc84e231f513ef134f9f58d44ccf.tar.gz
nixos-personal-a03996d7a11edc84e231f513ef134f9f58d44ccf.tar.bz2
nixos-personal-a03996d7a11edc84e231f513ef134f9f58d44ccf.zip
nixos: work little bit on routers
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 7af2bb5..c1a017c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -59,6 +59,11 @@
#boot.kernelPackages = pkgs.linuxKernel.packages.linux_rpi3;
})
];};
+ beagleboneSystem = genericSystem {system = "armv7l-linux"; extra_modules = [
+ nixturris.nixosModules.turris-crossbuild
+ nixturris.nixosModules.armv7l-overlay
+ # TODO
+ ];};
turrisSystem = board: hostname: {
${hostname} = nixturris.lib.nixturrisSystem {
@@ -79,6 +84,7 @@
amd64System "susan" //
raspi2System "spt-mpd" //
raspi3System "adm-mpd" //
+ beagleboneSystem "gaspode" //
turrisMoxSystem "dean" //
turrisOmniaSystem "spt-omnia" //
turrisMoxSystem "spt-mox" //