laptop: add IDEA wrappers

This commit is contained in:
Lgmrszd 2025-01-19 16:25:40 +04:00
parent e24934ae66
commit 012afecf57
No known key found for this signature in database
GPG key ID: 9396B8BA6FBB14DE
3 changed files with 47 additions and 10 deletions

View file

@ -49,6 +49,7 @@
}:
let
system = "x86_64-linux";
mylib = import ./lib;
overlay-stable = final: prev: {
stable = import nixpkgs-stable {
inherit system;
@ -75,7 +76,7 @@
in
nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit data; };
specialArgs = { inherit data; inherit mylib; };
modules = [
{ nixpkgs.overlays = my-overlays; }
./hosts/${host}/configuration.nix
@ -94,6 +95,7 @@
./hosts/${host}/home
] ++ extra-home-modules;
};
home-manager.extraSpecialArgs = { inherit mylib; };
}
])
;