use variable

This commit is contained in:
Mohamed Chrayed 2024-08-08 18:33:00 +02:00
parent 932b2db771
commit e24ace924d

View File

@ -18,7 +18,7 @@
pkgs-stable = import nixpkgs-stable {inherit system; config.allowUnfree = true; }; pkgs-stable = import nixpkgs-stable {inherit system; config.allowUnfree = true; };
in { in {
nixosConfigurations = { nixosConfigurations = {
computer-mo = nixpkgs.lib.nixosSystem { computer-mo = lib.nixosSystem {
inherit system; inherit system;
specialArgs = { inherit pkgs-stable; }; specialArgs = { inherit pkgs-stable; };
modules = [ modules = [