2023-12-15 16:02:50 +00:00
|
|
|
{inputs, ...}: let
|
|
|
|
nixpkgs = inputs.nixpkgs;
|
|
|
|
home-manager = {
|
|
|
|
useUserPackages = true;
|
|
|
|
useGlobalPkgs = true;
|
|
|
|
extraSpecialArgs = {
|
|
|
|
inherit inputs;
|
|
|
|
};
|
2023-12-15 16:04:00 +00:00
|
|
|
users.laurent = ../home;
|
2023-12-15 16:02:50 +00:00
|
|
|
};
|
|
|
|
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
|
2024-10-06 13:54:44 +00:00
|
|
|
inputs.nixos-hardware.nixosModules.dell-xps-13-9315
|
2024-01-15 15:50:55 +00:00
|
|
|
inputs.home-manager.nixosModules.home-manager
|
2024-10-05 16:47:19 +00:00
|
|
|
inputs.impermanence.nixosModules.impermanence
|
2024-10-05 21:31:41 +00:00
|
|
|
inputs.lanzaboote.nixosModules.lanzaboote
|
2024-10-06 13:54:44 +00:00
|
|
|
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 {
|
2023-12-15 16:02:50 +00:00
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = {
|
|
|
|
inherit inputs;
|
|
|
|
inherit system;
|
|
|
|
};
|
|
|
|
modules = [
|
2024-01-12 16:02:47 +00:00
|
|
|
./cesium
|
2023-12-15 16:02:50 +00:00
|
|
|
inputs.disko.nixosModules.default
|
|
|
|
inputs.agenix.nixosModules.default
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|