2024-12-30 22:44:07 +00:00
|
|
|
{
|
|
|
|
self,
|
|
|
|
inputs,
|
|
|
|
...
|
|
|
|
}: let
|
2024-12-19 14:49:04 +00:00
|
|
|
lib' = import ../shared/lib inputs.nixpkgs.lib;
|
2024-11-21 13:54:22 +00:00
|
|
|
mkSystem = args:
|
|
|
|
inputs.nixpkgs.lib.nixosSystem {
|
|
|
|
specialArgs = {inherit inputs lib';};
|
2025-01-14 14:10:49 +00:00
|
|
|
modules = (args.modules or []) ++ [../modules];
|
2024-11-21 13:54:22 +00:00
|
|
|
};
|
2024-12-30 18:28:50 +00:00
|
|
|
|
|
|
|
base = [
|
|
|
|
({
|
|
|
|
config,
|
|
|
|
specialArgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
home-manager = {
|
|
|
|
users.${config.local.systemVars.username}.imports = [
|
2024-12-30 22:44:07 +00:00
|
|
|
"${self}/config/home-manager"
|
2024-12-30 18:28:50 +00:00
|
|
|
|
2024-12-30 22:44:07 +00:00
|
|
|
"${self}/config/home-manager/services/udiskie.nix"
|
|
|
|
"${self}/config/home-manager/services/syncthing.nix"
|
2024-12-30 18:28:50 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
extraSpecialArgs = specialArgs;
|
|
|
|
};
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
graphical = [
|
|
|
|
({config, ...}: {
|
|
|
|
home-manager.users.${config.local.systemVars.username}.imports = [
|
2024-12-30 22:44:07 +00:00
|
|
|
"${self}/config/home-manager/programs/waybar"
|
2025-01-07 21:29:50 +00:00
|
|
|
"${self}/config/home-manager/programs/walker.nix"
|
2024-12-30 22:44:07 +00:00
|
|
|
"${self}/config/home-manager/programs/hypr"
|
|
|
|
"${self}/config/home-manager/programs/wlogout.nix"
|
2024-12-30 18:28:50 +00:00
|
|
|
|
2024-12-30 22:44:07 +00:00
|
|
|
"${self}/config/home-manager/services/swaync"
|
2024-12-30 18:28:50 +00:00
|
|
|
|
2024-12-30 22:44:07 +00:00
|
|
|
"${self}/config/home-manager/terminal/emulators/foot.nix"
|
|
|
|
"${self}/config/home-manager/services/gammastep.nix"
|
2024-12-30 18:28:50 +00:00
|
|
|
];
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
gaming = [
|
|
|
|
({config, ...}: {
|
|
|
|
home-manager.users.${config.local.systemVars.username}.imports = [
|
2024-12-30 22:44:07 +00:00
|
|
|
"${self}/config/home-manager/programs/games"
|
|
|
|
"${self}/config/home-manager/services/flatpak.nix"
|
2024-12-30 18:28:50 +00:00
|
|
|
];
|
|
|
|
})
|
|
|
|
];
|
2024-10-22 09:56:48 +00:00
|
|
|
in {
|
2024-11-06 15:27:40 +00:00
|
|
|
vamos = mkSystem {
|
2024-12-30 18:28:50 +00:00
|
|
|
modules =
|
|
|
|
[
|
|
|
|
./vamos
|
|
|
|
inputs.nixos-hardware.nixosModules.framework-13-7040-amd
|
|
|
|
]
|
|
|
|
++ base
|
2025-01-14 14:10:49 +00:00
|
|
|
++ graphical;
|
2024-10-22 09:56:48 +00:00
|
|
|
};
|
2024-09-29 21:48:55 +00:00
|
|
|
|
2024-11-06 15:27:40 +00:00
|
|
|
solaire = mkSystem {
|
2024-12-30 18:28:50 +00:00
|
|
|
modules =
|
|
|
|
[
|
|
|
|
./solaire
|
|
|
|
]
|
|
|
|
++ base
|
|
|
|
++ graphical
|
|
|
|
++ gaming;
|
2024-09-29 21:48:55 +00:00
|
|
|
};
|
2024-10-23 16:04:37 +00:00
|
|
|
|
2024-11-06 15:27:40 +00:00
|
|
|
anastacia = mkSystem {
|
2024-10-23 16:04:37 +00:00
|
|
|
modules = [
|
|
|
|
./anastacia
|
|
|
|
];
|
|
|
|
};
|
2024-09-29 21:48:55 +00:00
|
|
|
}
|