asgaut
This commit is contained in:
parent
550249ee50
commit
3b6d97e88e
11
flake.nix
11
flake.nix
@ -148,7 +148,7 @@
|
||||
forAllSystems = forSystems [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
#"riscv64-linux"
|
||||
"riscv64-linux"
|
||||
];
|
||||
|
||||
mkModule = extra-modules: domain: system: inputs: stateVersion: modules: hostname: ({ lib, ... }: {
|
||||
@ -273,6 +273,8 @@
|
||||
};
|
||||
in builtins.mapAttrs (hostname: curried: curried hostname) {
|
||||
#hostname "domain" "system" inputs "state" [ modules ... ]
|
||||
/* asgaut = mk "pbsds.net" "riscv64-linux" inputs-2405 "24.05" [ hw.starfive-visionfive-2 ]; */
|
||||
asgaut = mk "pbsds.net" "riscv64-linux" inputs-2405 "24.05" [ "${nixos-hardware}/starfive/visionfive/v2/default.nix" ];
|
||||
noximilien = mk "pbsds.net" "x86_64-linux" inputs-2405 "23.11" [ au tse intel ];
|
||||
brumlebasse = mk "pbsds.net" "x86_64-linux" inputs-2405 "24.05" [ au amd nspawn ];
|
||||
nord = mk "pbsds.net" "x86_64-linux" inputs-2405 "24.05" [ au ts intel-novga hw.common-gpu-intel-sandy-bridge rocm hidpi ];
|
||||
@ -332,6 +334,13 @@
|
||||
(pkgs.callPackage ./pkgs/mk-nspawn-setup {})
|
||||
(mkHosts (mkConfig [ "${nixos-nspawn}/nspawn-tarball.nix" ])).${hostname};
|
||||
in {
|
||||
asgaut-sd = (mkHosts (mkConfig [
|
||||
"${nixos-hardware}/starfive/visionfive/v2/sd-image.nix"
|
||||
{
|
||||
nixpkgs.buildPlatform.system = system; # cross
|
||||
sdImage.compressImage = false;
|
||||
}
|
||||
])).asgaut.config.system.build.sdImage;
|
||||
brumlebasse-nspawn-setup = mk-nspawn-setup "brumlebasse";
|
||||
brumlebasse-openstack = nixos-generators-2405.nixosGenerate {
|
||||
system = "x86_64-linux";
|
||||
|
@ -1,2 +1,10 @@
|
||||
{}
|
||||
# TODO: visionfive 2
|
||||
{ config, lib, pkgs, ...}:
|
||||
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.fastfetch
|
||||
];
|
||||
|
||||
networking.interfaces.end0.useDHCP = true;
|
||||
networking.interfaces.end1.useDHCP = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user