summaryrefslogtreecommitdiff
path: root/hosts/default.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-02 06:53:03 -0700
committerFuwn <[email protected]>2024-10-02 06:53:03 -0700
commitf98b69547f5fdcec134965161beeccca0e3d89f5 (patch)
tree067e433144e5aa8ad786abaef842f8c586aa72db /hosts/default.nix
parenthosts: rename fina to akashi (diff)
downloadnixos-config-f98b69547f5fdcec134965161beeccca0e3d89f5.tar.xz
nixos-config-f98b69547f5fdcec134965161beeccca0e3d89f5.zip
flake: switch pia to Fuwn/nixos-pia
Diffstat (limited to 'hosts/default.nix')
-rw-r--r--hosts/default.nix52
1 files changed, 28 insertions, 24 deletions
diff --git a/hosts/default.nix b/hosts/default.nix
index 4aedba4..a5d3714 100644
--- a/hosts/default.nix
+++ b/hosts/default.nix
@@ -9,32 +9,36 @@
}:
{
flake.nixosConfigurations = with lib; {
- kansai = nixosSystem {
- pkgs =
- (kansaiPkgs {
- nixpkgsAllowUnfree = true;
- nixpkgsCudaSupport = true;
- })."x86_64-linux";
+ kansai =
+ let
+ pkgs =
+ (kansaiPkgs {
+ nixpkgsAllowUnfree = true;
+ nixpkgsCudaSupport = true;
+ })."x86_64-linux";
+ in
+ nixosSystem {
+ inherit pkgs;
- specialArgs = {
- inherit
- inputs
- outputs
- secrets
- self
- ;
- };
+ specialArgs = {
+ inherit
+ inputs
+ outputs
+ secrets
+ self
+ ;
+ };
- modules = with inputs; [
- home-manager.nixosModule
- pia.nixosModule
- nix-index-database.nixosModules.nix-index
- nur.nixosModules.nur
- chaotic.nixosModules.default
- sops-nix.nixosModules.sops
- ./kansai
- ];
- };
+ modules = with inputs; [
+ home-manager.nixosModule
+ pia.nixosModules.${pkgs.system}.default
+ nix-index-database.nixosModules.nix-index
+ nur.nixosModules.nur
+ chaotic.nixosModules.default
+ sops-nix.nixosModules.sops
+ ./kansai
+ ];
+ };
himeji = nixosSystem {
pkgs =