2023-11-10 18:48:06 +00:00
|
|
|
{
|
|
|
|
withSystem,
|
|
|
|
self,
|
|
|
|
inputs,
|
2024-10-07 15:00:27 +00:00
|
|
|
config,
|
2023-11-10 18:48:06 +00:00
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
flake = {
|
2024-10-07 15:00:27 +00:00
|
|
|
nixosModules = {
|
|
|
|
home-manager = {
|
2023-11-10 18:48:06 +00:00
|
|
|
imports = [
|
2024-10-07 15:00:27 +00:00
|
|
|
inputs.home-manager.nixosModules.home-manager
|
|
|
|
({
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.extraSpecialArgs = {
|
|
|
|
flake = {
|
|
|
|
inherit self inputs config;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
})
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
nixosConfigurations = {
|
|
|
|
dumpyourvms = self.inputs.nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = {
|
|
|
|
flake = {
|
|
|
|
inherit self inputs config;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
modules = [
|
2023-11-10 18:48:06 +00:00
|
|
|
self.nixosModules.base
|
|
|
|
./dumpyourvms
|
|
|
|
self.nixosModules.teutat3s
|
|
|
|
self.nixosModules.audio
|
|
|
|
self.nixosModules.bluetooth
|
|
|
|
self.nixosModules.desktop-extended
|
|
|
|
self.nixosModules.docker
|
|
|
|
self.nixosModules.graphical
|
|
|
|
self.nixosModules.nextcloud
|
|
|
|
self.nixosModules.office
|
|
|
|
self.nixosModules.printing
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2024-10-07 15:00:27 +00:00
|
|
|
ryzensun = self.inputs.nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = {
|
|
|
|
flake = {
|
|
|
|
inherit self inputs config;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
modules = [
|
2023-11-10 18:48:06 +00:00
|
|
|
self.nixosModules.base
|
|
|
|
./ryzensun
|
|
|
|
self.nixosModules.teutat3s
|
|
|
|
self.nixosModules.audio
|
|
|
|
self.nixosModules.desktop-extended
|
|
|
|
self.nixosModules.docker
|
|
|
|
self.nixosModules.graphical
|
|
|
|
self.nixosModules.office
|
|
|
|
self.nixosModules.printing
|
|
|
|
self.nixosModules.virtualisation
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2024-10-07 15:00:27 +00:00
|
|
|
fae = self.inputs.nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = {
|
|
|
|
flake = {
|
|
|
|
inherit self inputs config;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
modules = [
|
2024-02-02 22:25:54 +00:00
|
|
|
self.nixosModules.base
|
|
|
|
inputs.nixos-hardware.nixosModules.raspberry-pi-4
|
|
|
|
./fae
|
|
|
|
self.nixosModules.pub-solar
|
2024-04-13 00:11:15 +00:00
|
|
|
self.nixosModules.acme
|
2024-06-24 21:00:22 +00:00
|
|
|
self.nixosModules.invoiceplane
|
2024-02-02 22:25:54 +00:00
|
|
|
];
|
|
|
|
};
|
2023-11-10 18:48:06 +00:00
|
|
|
|
2024-10-07 15:00:27 +00:00
|
|
|
#powder = self.inputs.nixpkgs.lib.nixosSystem {
|
|
|
|
# specialArgs = {
|
|
|
|
# flake = {
|
|
|
|
# inherit self inputs config;
|
|
|
|
# };
|
|
|
|
# };
|
|
|
|
# modules = [
|
2023-11-10 18:48:06 +00:00
|
|
|
# self.nixosModules.base
|
|
|
|
# inputs.nixos-hardware.nixosModules.raspberry-pi-4
|
|
|
|
# ./powder
|
|
|
|
# self.nixosModules.teutat3s
|
|
|
|
# self.nixosModules.docker
|
|
|
|
# self.nixosModules.wireguard-client
|
|
|
|
# self.nixosModules.invoiceplane
|
|
|
|
# ];
|
|
|
|
#};
|
|
|
|
|
2024-10-07 15:00:27 +00:00
|
|
|
iso = self.inputs.nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = {
|
|
|
|
flake = {
|
|
|
|
inherit self inputs config;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
modules = [
|
2023-11-10 18:48:06 +00:00
|
|
|
"${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
|
|
|
|
self.nixosModules.base
|
|
|
|
./iso
|
|
|
|
self.nixosModules.nixos
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2024-10-07 15:00:27 +00:00
|
|
|
iso-arm = self.inputs.nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = {
|
|
|
|
flake = {
|
|
|
|
inherit self inputs config;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
modules = [
|
2023-11-10 18:48:06 +00:00
|
|
|
"${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
|
|
|
|
self.nixosModules.base
|
|
|
|
./iso
|
|
|
|
self.nixosModules.nixos
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2024-10-07 15:00:27 +00:00
|
|
|
iso-graphical = self.inputs.nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = {
|
|
|
|
flake = {
|
|
|
|
inherit self inputs config;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
modules = [
|
2023-11-10 18:48:06 +00:00
|
|
|
"${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
|
|
|
|
self.nixosModules.base
|
|
|
|
./iso
|
|
|
|
self.nixosModules.nixos
|
|
|
|
self.nixosModules.graphical
|
|
|
|
self.nixosModules.audio
|
|
|
|
self.nixosModules.bluetooth
|
|
|
|
(
|
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
pub-solar.graphical.wayland.software-renderer.enable = true;
|
|
|
|
}
|
|
|
|
)
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|