(fix) Use self instead of outputs in specialArgs

This commit is contained in:
Sakooooo 2024-07-29 23:24:14 +04:00
parent 20b984a017
commit baf40b3c13
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -64,7 +64,7 @@
nixosConfigurations = { nixosConfigurations = {
sakotop = nixpkgs.lib.nixosSystem { sakotop = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs outputs;}; specialArgs = {inherit inputs self;};
modules = [ modules = [
./default.nix ./default.nix
./hosts/sakotop/configuration.nix ./hosts/sakotop/configuration.nix
@ -72,14 +72,14 @@
]; ];
}; };
sakopc = nixpkgs.lib.nixosSystem { sakopc = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs outputs;}; specialArgs = {inherit inputs self;};
modules = [ modules = [
./default.nix ./default.nix
./hosts/sakopc/configuration.nix ./hosts/sakopc/configuration.nix
]; ];
}; };
#sakoserver = nixpkgs.lib.nixosSystem { #sakoserver = nixpkgs.lib.nixosSystem {
# specialArgs = {inherit inputs outputs;}; # specialArgs = {inherit inputs self;};
# modules = [ # modules = [
# ./default.nix # ./default.nix
# ./hosts/sakoserver/configuration.nix # ./hosts/sakoserver/configuration.nix
@ -88,7 +88,7 @@
sakowsl = nixpkgs.lib.nixosSystem { sakowsl = nixpkgs.lib.nixosSystem {
# because theres no hardware-configuration.nix # because theres no hardware-configuration.nix
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = {inherit inputs outputs;}; specialArgs = {inherit inputs self;};
modules = [ modules = [
{nix.registry.nixpkgs.flake = nixpkgs;} {nix.registry.nixpkgs.flake = nixpkgs;}
./hosts/sakowsl/configuration.nix ./hosts/sakowsl/configuration.nix