Compare commits
No commits in common. "923ca6cd9a7de3a4a1ebb0ac57b0ec8c6ae08a56" and "2e288c94f9e0a4ded90d65afd0dc863fefc67ab1" have entirely different histories.
923ca6cd9a
...
2e288c94f9
2 changed files with 9 additions and 20 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,2 +0,0 @@
|
|||
result
|
||||
result-*
|
15
flake.nix
15
flake.nix
|
@ -2,7 +2,6 @@
|
|||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
outputs = { self, nixpkgs, ... }: let
|
||||
inherit (nixpkgs) lib;
|
||||
eachSystem = lib.genAttrs [ "x86_64-linux" "aarch64-linux" ];
|
||||
in {
|
||||
nixosModules = {
|
||||
default = import ./module.nix;
|
||||
|
@ -11,23 +10,15 @@
|
|||
};
|
||||
};
|
||||
|
||||
nixosConfigurations = eachSystem (system: lib.nixosSystem {
|
||||
checks = lib.genAttrs [ "x86_64-linux" "aarch64-linux" ] (system: {
|
||||
default = (lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [ {
|
||||
system.stateVersion = "24.11";
|
||||
fileSystems."/".device = "nodev";
|
||||
boot.loader.grub.enable = false;
|
||||
services.akkoma.enable = true;
|
||||
services.akkoma.config.":pleroma".":instance" = {
|
||||
name = "test";
|
||||
description = "test";
|
||||
email = "test@test.test";
|
||||
};
|
||||
} ] ++ (with self.nixosModules; [ default florp ]);
|
||||
});
|
||||
|
||||
checks = eachSystem (system: {
|
||||
default = self.nixosConfigurations.${system}.config.system.build.toplevel;
|
||||
}).config.system.build.toplevel;
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue