mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
Create host/vm named smarthome
This commit is contained in:
parent
c74f5d4248
commit
eb83880671
5 changed files with 146 additions and 0 deletions
15
flake.nix
15
flake.nix
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue