asgaut
This commit is contained in:
parent
550249ee50
commit
3b6d97e88e
11
flake.nix
11
flake.nix
|
@ -148,7 +148,7 @@
|
||||||
forAllSystems = forSystems [
|
forAllSystems = forSystems [
|
||||||
"x86_64-linux"
|
"x86_64-linux"
|
||||||
"aarch64-linux"
|
"aarch64-linux"
|
||||||
#"riscv64-linux"
|
"riscv64-linux"
|
||||||
];
|
];
|
||||||
|
|
||||||
mkModule = extra-modules: domain: system: inputs: stateVersion: modules: hostname: ({ lib, ... }: {
|
mkModule = extra-modules: domain: system: inputs: stateVersion: modules: hostname: ({ lib, ... }: {
|
||||||
|
@ -273,6 +273,8 @@
|
||||||
};
|
};
|
||||||
in builtins.mapAttrs (hostname: curried: curried hostname) {
|
in builtins.mapAttrs (hostname: curried: curried hostname) {
|
||||||
#hostname "domain" "system" inputs "state" [ modules ... ]
|
#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 ];
|
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 ];
|
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 ];
|
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 {})
|
(pkgs.callPackage ./pkgs/mk-nspawn-setup {})
|
||||||
(mkHosts (mkConfig [ "${nixos-nspawn}/nspawn-tarball.nix" ])).${hostname};
|
(mkHosts (mkConfig [ "${nixos-nspawn}/nspawn-tarball.nix" ])).${hostname};
|
||||||
in {
|
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-nspawn-setup = mk-nspawn-setup "brumlebasse";
|
||||||
brumlebasse-openstack = nixos-generators-2405.nixosGenerate {
|
brumlebasse-openstack = nixos-generators-2405.nixosGenerate {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
|
@ -1,2 +1,10 @@
|
||||||
{}
|
{ config, lib, pkgs, ...}:
|
||||||
# TODO: visionfive 2
|
|
||||||
|
{
|
||||||
|
environment.systemPackages = [
|
||||||
|
pkgs.fastfetch
|
||||||
|
];
|
||||||
|
|
||||||
|
networking.interfaces.end0.useDHCP = true;
|
||||||
|
networking.interfaces.end1.useDHCP = true;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue