elnudrop: define enableSSL special argument

This commit is contained in:
Elnu 2023-08-11 11:44:06 -07:00
parent 86e8c8c9ec
commit 6176753e71
4 changed files with 27 additions and 22 deletions

View file

@ -7,6 +7,9 @@ let
config.allowUnfree = true;
};
lib = nixpkgs.lib;
configImports = [
./configuration.nix
];
hmImports = [
(import ./home.nix)
inputs.nixvim.homeManagerModules.nixvim
@ -20,9 +23,8 @@ in
desktop = lib.nixosSystem {
inherit system;
specialArgs = { inherit user; };
modules = [
modules = configImports ++ [
./desktop
./configuration.nix
./desktop.nix
{
boot.loader.grub.gfxmodeEfi = "1920x1080";
@ -46,9 +48,8 @@ in
x220 = lib.nixosSystem {
inherit system;
specialArgs = { inherit user; };
modules = [
modules = configImports ++ [
./thinkpads
./configuration.nix
./desktop.nix
{
# 1024x768 is the closest supported resolution to X220's native 1366x768
@ -74,9 +75,8 @@ in
t430 = lib.nixosSystem {
inherit system;
specialArgs = { inherit user; };
modules = [
modules = configImports ++ [
./thinkpads
./configuration.nix
./desktop.nix
{
boot.loader.grub.gfxmodeEfi = "1600x900";
@ -99,9 +99,8 @@ in
virtualbox = lib.nixosSystem {
inherit system;
specialArgs = { inherit user; };
modules = [
modules = configImports ++ [
./virtualbox
./configuration.nix
./desktop.nix
{
networking.hostName = "virtualbox";
@ -122,10 +121,12 @@ in
elnudrop = lib.nixosSystem {
inherit system;
specialArgs = { inherit user; };
modules = [
specialArgs = {
inherit user;
enableSSL = true;
};
modules = configImports ++ [
./elnudrop
./configuration.nix
{
networking.hostName = "elnudrop";
}