This commit is contained in:
iFargle 2024-01-31 12:20:05 +09:00
parent 4b68c66066
commit f70a893672
2 changed files with 3 additions and 4 deletions

View file

@ -47,8 +47,7 @@
inherit (self) outputs;
stateVersion = "23.11";
hmStateVersion = "23.11";
system = builtins.currentSystem;
libx = import ./lib { inherit self inputs outputs stateVersion hmStateVersion system; };
libx = import ./lib { inherit self inputs outputs stateVersion hmStateVersion; };
in {
nixosConfigurations = {
osaka-linode-01 = libx.mkHost { hostname = "osaka-linode-01"; };

View file

@ -1,4 +1,4 @@
{ self, inputs, outputs, stateVersion, hmStateVersion, system , ... }: {
{ self, inputs, outputs, stateVersion, hmStateVersion , ... }: {
deploy = {
hostname,
platform ? "x86_64-linux",
@ -44,7 +44,7 @@
repo ? "nixpkgs"
}: inputs.nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu platform theme; };
pkgs = import inputs.${repo} { inherit system; };
pkgs = import inputs.${repo} { inherit "${platform}"; };
modules = [
# Types are 'default', 'small', and 'minimal'