infrastructure/hosts/default.nix

49 lines
1.1 KiB
Nix
Raw Normal View History

{inputs, ...}: let
nixpkgs = inputs.nixpkgs;
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
extraSpecialArgs = {
inherit inputs;
};
users.laurent = ../home;
};
in {
2024-01-12 16:02:47 +00:00
# naming convention based on the periodic table
# NAS would be neodymium
# desktop would be neon
# smartphone would be lithium
2024-01-15 15:50:55 +00:00
# work laptop
aurum = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit inputs;
};
modules = [
./aurum
2024-06-15 14:39:17 +00:00
inputs.catppuccin.nixosModules.catppuccin
inputs.nixos-hardware.nixosModules.dell-xps-13-9315
2024-01-15 15:50:55 +00:00
inputs.home-manager.nixosModules.home-manager
inputs.impermanence.nixosModules.impermanence
2024-10-05 21:31:41 +00:00
inputs.lanzaboote.nixosModules.lanzaboote
inputs.disko.nixosModules.default
2024-01-15 15:50:55 +00:00
{inherit home-manager;}
];
};
2024-01-12 16:02:47 +00:00
# vps
cesium = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
specialArgs = {
inherit inputs;
inherit system;
};
modules = [
2024-01-12 16:02:47 +00:00
./cesium
inputs.disko.nixosModules.default
inputs.agenix.nixosModules.default
];
};
}