Add lemp11
and t490
hosts
This commit is contained in:
parent
d305535b01
commit
df5834fcaf
3 changed files with 31 additions and 6 deletions
7
modules2/hosts/lemp11/imports.nix
Normal file
7
modules2/hosts/lemp11/imports.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
flake.modules.nixos."hosts/lemp11".imports = with config.flake.modules.nixos; [
|
||||
pc
|
||||
];
|
||||
}
|
7
modules2/hosts/t490/imports.nix
Normal file
7
modules2/hosts/t490/imports.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
flake.modules.nixos."hosts/t490".imports = with config.flake.modules.nixos; [
|
||||
pc
|
||||
];
|
||||
}
|
|
@ -15,16 +15,15 @@
|
|||
mkNixosConfiguration =
|
||||
{
|
||||
hostname,
|
||||
modules ? [],
|
||||
stateVersion ? "22.11",
|
||||
system ? "x86_64-linux",
|
||||
}:
|
||||
inputs.nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
|
||||
modules = [
|
||||
modules = modules ++ [
|
||||
"${self}/hosts/${hostname}/configuration.nix"
|
||||
|
||||
config.flake.modules.nixos."hosts/${hostname}"
|
||||
];
|
||||
|
||||
specialArgs = specialArgs // {
|
||||
|
@ -34,16 +33,28 @@
|
|||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
lemp11 = mkNixosConfiguration { hostname = "lemp11"; };
|
||||
lemp11 = mkNixosConfiguration rec {
|
||||
hostname = "lemp11";
|
||||
|
||||
modules = [ config.flake.modules.nixos."hosts/${hostname}" ];
|
||||
};
|
||||
|
||||
nixedo = mkNixosConfiguration {
|
||||
hostname = "nixedo";
|
||||
stateVersion = "24.11";
|
||||
};
|
||||
|
||||
t480 = mkNixosConfiguration { hostname = "t480"; };
|
||||
t480 = mkNixosConfiguration rec {
|
||||
hostname = "t480";
|
||||
|
||||
t490 = mkNixosConfiguration { hostname = "t490"; };
|
||||
modules = [ config.flake.modules.nixos."hosts/${hostname}" ];
|
||||
};
|
||||
|
||||
t490 = mkNixosConfiguration rec {
|
||||
hostname = "t490";
|
||||
|
||||
modules = [ config.flake.modules.nixos."hosts/${hostname}" ];
|
||||
};
|
||||
|
||||
PW05CH3L = mkNixosConfiguration { hostname = "PW05CH3L"; };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue