flocon/hosts/default.nix

65 lines
1.4 KiB
Nix
Raw Normal View History

{
self,
inputs,
lib,
...
}: {
flake.nixosConfigurations = let
inherit (inputs.nixpkgs.lib) nixosSystem;
homeImports = import "${self}/home/profiles";
mod = "${self}/system";
inherit (import mod) laptop desktop;
2024-09-30 06:55:37 +00:00
specialArgs = {
inherit inputs self;
};
in {
vamos = nixosSystem {
inherit specialArgs;
modules =
laptop
++ [
./vamos
../system/services/regreet.nix
2024-10-02 09:54:15 +00:00
"${mod}/programs/niri"
self.nixosModules.theme
{
theme.wallpaper = lib.mkDefault ../wallpapers/nix-wallpaper-nineish-catppuccin-frappe-alt.svg;
theme.scheme = lib.mkDefault "catppuccin-frappe";
}
{
home-manager = {
users.nezia.imports = homeImports.vamos;
extraSpecialArgs = specialArgs;
};
}
inputs.nixos-hardware.nixosModules.framework-13-7040-amd
];
};
solaire = nixosSystem {
inherit specialArgs;
modules =
desktop
++ [
./solaire
2024-10-01 12:04:46 +00:00
"${mod}/programs/kde.nix"
"${mod}/hardware/nvidia.nix"
self.nixosModules.theme
{
home-manager = {
users.nezia.imports = homeImports.solaire;
extraSpecialArgs = specialArgs;
};
}
];
};
};
}