Files
nixos-config/hosts/default.nix
T
2026-03-31 16:53:11 +02:00

34 lines
691 B
Nix

{
self,
inputs,
...
}: {
flake.nixosConfigurations = let
# shorten paths
inherit (inputs.nixpkgs.lib) nixosSystem;
mod = "${self}/system";
home = "${self}/home";
# get the basic config to build on top of
inherit (import "${self}/system") desktop laptop;
# get these into the module system
specialArgs = {inherit inputs self;};
in {
aesthetic = nixosSystem {
inherit specialArgs;
modules =
desktop
++ laptop
++ [
./aesthetic
"${mod}/services/gnome-services.nix"
"${mod}/core/limine.nix"
"${home}"
inputs.agenix.nixosModules.default
];
};
};
}