Add fcc-unlock

This commit is contained in:
Fabian Hauser 2022-11-26 10:59:36 +01:00
parent 98c008fa33
commit bc1e1731cf
6 changed files with 53 additions and 18 deletions

View file

@ -17,11 +17,15 @@
};
threema.url = "git+file:///etc/nixos/defaults/threema";
threema.inputs.nixpkgs-unstable.follows = "nixpkgs-unstable";
fcc-unlock = {
url = "git+file:///etc/nixos/fcc-unlock";
inputs.nixos-stable.follows = "nixpkgs-stable";
};
};
outputs = { self, nixpkgs-unstable, nixpkgs-stable, home-manager
, qois-infrastructure, nixos-hardware, threema, ... }@inputs:
, qois-infrastructure, nixos-hardware, threema, fcc-unlock, ... }@inputs:
let
system = "x86_64-linux";
pkgsUnstable = import nixpkgs-unstable {
@ -44,6 +48,7 @@
sharedSpecialArgs = {
threemaModules = threema.nixosModules;
inherit pkgsUnstable;
pkgFccUnlock = fcc-unlock.packages.${system}.default;
};
home-manager-config = {
@ -61,7 +66,7 @@
hardwareModules = nixos-hardware.nixosModules;
};
modules = [
qois-infrastructure.nixosModule
qois-infrastructure.nixosModules.default
home-manager.nixosModules.home-manager
./host/${host}/default.nix
] ++ (if host == "bachtel" then [ ] else [ home-manager-config ]);