Create host/vm named smarthome

This commit is contained in:
Gene Liverman 2024-08-20 12:13:09 -04:00 committed by Gene Liverman
parent c74f5d4248
commit eb83880671
5 changed files with 146 additions and 0 deletions

View file

@ -122,6 +122,14 @@
};
overlays = [ nixpkgs-terraform.overlays.default ];
};
pkgs-unstable = import nixpkgs-unstable {
inherit system;
config = {
allowUnfree = true;
permittedInsecurePackages = [ "electron-21.4.4" ];
};
overlays = [ ];
};
} // additionalSpecialArgs;
modules = [
disko.nixosModules.disko
@ -233,6 +241,13 @@
];
additionalSpecialArgs = {};
};
smarthome = nixosHostConfig {
system = "x86_64-linux";
hostname = "smarthome";
username = "gene";
additionalModules = [];
additionalSpecialArgs = {};
};
}; # end nixosConfigurations
# Home Manager (only) users