system-nix: add lester

nix-components
pegasust 2022-11-25 18:14:13 -07:00
parent a41a3a920f
commit ff2b0b9223
1 changed files with 20 additions and 0 deletions

View File

@ -74,6 +74,26 @@
};
};
};
nixosConfigurations.lester = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
];
specialArgs = {
hostname = "lester";
networking = {
firewall.enable = true;
useDHCP = false;
interfaces.eth0.useDHCP = true;
};
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
services.openssh = {
permitRootLogin = "no";
enable = true;
};
};
};
nixosConfigurations.nyx = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [