fix ventoy warning

This commit is contained in:
Satria 2026-05-01 16:05:12 +07:00
commit 678676793a

View file

@ -6,18 +6,18 @@
url = "github:nix-community/home-manager/master"; url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
gl.url = "github:nix-community/nixGL"; gl.url = "github:nix-community/nixGL";
ctp.url = "github:catppuccin/nix"; ctp.url = "github:catppuccin/nix";
}; };
outputs = inputs: let outputs = inputs: let
pkgs = import inputs.nixpkgs { pkgs = import inputs.nixpkgs {
system = "x86_64-linux"; system = "x86_64-linux";
overlays = [ inputs.gl.overlay ]; overlays = [ inputs.gl.overlay ];
config = { config = {
allowUnfree = true; allowUnfree = true;
permittedInsecurePackages = [ "ventoy-qt5-1.1.10" ]; permittedInsecurePackages = [ "ventoy-qt5-1.1.12" ];
}; };
}; };
args = { args = {
@ -32,7 +32,7 @@
inputs.ctp.nixosModules.catppuccin inputs.ctp.nixosModules.catppuccin
]; ];
}; };
nixosConfigWithHome = host: inputs.nixpkgs.lib.nixosSystem { nixosConfigWithHome = host: inputs.nixpkgs.lib.nixosSystem {
inherit pkgs; inherit pkgs;
specialArgs = args // { hostname = host; }; specialArgs = args // { hostname = host; };
@ -50,7 +50,7 @@
} }
]; ];
}; };
homeConfig = host: inputs.hm.lib.homeManagerConfiguration { homeConfig = host: inputs.hm.lib.homeManagerConfiguration {
extraSpecialArgs = args // { hostname = host; }; extraSpecialArgs = args // { hostname = host; };
inherit pkgs; inherit pkgs;