summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/akashi/default.nix20
1 files changed, 18 insertions, 2 deletions
diff --git a/hosts/akashi/default.nix b/hosts/akashi/default.nix
index f3cd12a..503968c 100644
--- a/hosts/akashi/default.nix
+++ b/hosts/akashi/default.nix
@@ -11,10 +11,19 @@
{
flake.nixosConfigurations.akashi =
let
+ system = "x86_64-linux";
+
pkgs =
(kansaiPkgs {
nixpkgsAllowUnfree = true;
- })."x86_64-linux";
+ nixpkgsExtraConfig.joypixels.acceptLicense = true;
+
+ nixpkgsAllowUnfreePredicate =
+ pkg:
+ builtins.elem (lib.getName pkg) [
+ "joypixels"
+ ];
+ }).${system};
in
lib.nixosSystem {
inherit pkgs;
@@ -30,7 +39,14 @@
users.ebisu = import "${self}/home/ebisu/core";
extraSpecialArgs = {
- inherit inputs;
+ inherit
+ inputs
+ self
+ secrets
+ system
+ ;
+
+ flakeDirectory = "";
};
};
}