71 lines
1.9 KiB
Nix
71 lines
1.9 KiB
Nix
{inputs, ...}: let
|
|
nixpkgs = inputs.nixpkgs;
|
|
home-manager = {
|
|
useUserPackages = true;
|
|
useGlobalPkgs = true;
|
|
extraSpecialArgs = {
|
|
inherit inputs;
|
|
};
|
|
users.laurent = ../home;
|
|
};
|
|
in {
|
|
# naming convention based on the periodic table
|
|
# NAS would be neodymium
|
|
# desktop would be neon
|
|
# smartphone would be lithium
|
|
|
|
# personal laptop
|
|
silicium = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = {
|
|
inherit inputs;
|
|
};
|
|
modules = [
|
|
./silicium
|
|
inputs.home-manager.nixosModules.home-manager
|
|
inputs.agenix.nixosModules.default
|
|
inputs.lanzaboote.nixosModules.lanzaboote
|
|
inputs.nixos-hardware.nixosModules.common-cpu-amd
|
|
inputs.nixos-hardware.nixosModules.common-gpu-nvidia-disable
|
|
inputs.nixos-hardware.nixosModules.common-pc-laptop
|
|
inputs.nixos-hardware.nixosModules.common-pc-laptop-ssd
|
|
{inherit home-manager;}
|
|
];
|
|
};
|
|
|
|
# # work laptop
|
|
# aurum = nixpkgs.lib.nixosSystem {
|
|
# system = "x86_64-linux";
|
|
# specialArgs = {
|
|
# inherit inputs;
|
|
# };
|
|
# modules = [
|
|
# ./aurum
|
|
# inputs.home-manager.nixosModules.home-manager
|
|
# inputs.agenix.nixosModules.default
|
|
# # inputs.lanzaboote.nixosModules.lanzaboote
|
|
# # inputs.nixos-hardware.nixosModules.common-cpu-amd
|
|
# # inputs.nixos-hardware.nixosModules.common-gpu-nvidia-disable
|
|
# # inputs.nixos-hardware.nixosModules.common-pc-laptop
|
|
# # inputs.nixos-hardware.nixosModules.common-pc-laptop-ssd
|
|
# {inherit home-manager;}
|
|
# ];
|
|
# };
|
|
|
|
# vps
|
|
cesium = nixpkgs.lib.nixosSystem rec {
|
|
system = "x86_64-linux";
|
|
specialArgs = {
|
|
inherit inputs;
|
|
inherit system;
|
|
};
|
|
modules = [
|
|
./cesium
|
|
inputs.home-manager.nixosModules.home-manager
|
|
inputs.disko.nixosModules.default
|
|
inputs.agenix.nixosModules.default
|
|
inputs.lanzaboote.nixosModules.lanzaboote
|
|
];
|
|
};
|
|
}
|