test
This commit is contained in:
parent
4b68c66066
commit
f70a893672
2 changed files with 3 additions and 4 deletions
|
@ -47,8 +47,7 @@
|
||||||
inherit (self) outputs;
|
inherit (self) outputs;
|
||||||
stateVersion = "23.11";
|
stateVersion = "23.11";
|
||||||
hmStateVersion = "23.11";
|
hmStateVersion = "23.11";
|
||||||
system = builtins.currentSystem;
|
libx = import ./lib { inherit self inputs outputs stateVersion hmStateVersion; };
|
||||||
libx = import ./lib { inherit self inputs outputs stateVersion hmStateVersion system; };
|
|
||||||
in {
|
in {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
osaka-linode-01 = libx.mkHost { hostname = "osaka-linode-01"; };
|
osaka-linode-01 = libx.mkHost { hostname = "osaka-linode-01"; };
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ self, inputs, outputs, stateVersion, hmStateVersion, system , ... }: {
|
{ self, inputs, outputs, stateVersion, hmStateVersion , ... }: {
|
||||||
deploy = {
|
deploy = {
|
||||||
hostname,
|
hostname,
|
||||||
platform ? "x86_64-linux",
|
platform ? "x86_64-linux",
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
repo ? "nixpkgs"
|
repo ? "nixpkgs"
|
||||||
}: inputs.nixpkgs.lib.nixosSystem {
|
}: inputs.nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu platform theme; };
|
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu platform theme; };
|
||||||
pkgs = import inputs.${repo} { inherit system; };
|
pkgs = import inputs.${repo} { inherit "${platform}"; };
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
# Types are 'default', 'small', and 'minimal'
|
# Types are 'default', 'small', and 'minimal'
|
||||||
|
|
Loading…
Reference in a new issue