summaryrefslogtreecommitdiff
path: root/hosts/akashi
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-03 03:49:43 -0700
committerFuwn <[email protected]>2024-10-03 03:49:43 -0700
commit06e843aa0a3ff563b56d6c2146a97d4270664c05 (patch)
tree1cf3f09a153a29bab435c37111e9aa5387adbc54 /hosts/akashi
parenthome: move communication to kansai (diff)
downloadnixos-config-06e843aa0a3ff563b56d6c2146a97d4270664c05.tar.xz
nixos-config-06e843aa0a3ff563b56d6c2146a97d4270664c05.zip
akashi: fix up home
Diffstat (limited to 'hosts/akashi')
-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 = "";
};
};
}