Skip to content

Commit

Permalink
refactor: move nixos module to its own repo
Browse files Browse the repository at this point in the history
  • Loading branch information
snaakey committed Aug 25, 2024
1 parent faa9ca4 commit d1f7e42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 289 deletions.
19 changes: 4 additions & 15 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,9 @@
inputs.flake-parts.lib.mkFlake { inherit inputs self; } {
systems = import inputs.systems;
flake = {
nixosModules = {
default = {
imports = [ ./module.nix ];
nixpkgs.overlays = [ self.overlays.default ];
};
};
hydraJobs = inputs.nixpkgs.lib.genAttrs [ "packages" "checks" "devShells" ] (attrs: {
inherit (self.${attrs}) x86_64-linux aarch64-linux;
});
};
imports = [
inputs.treefmt-nix.flakeModule
Expand Down Expand Up @@ -50,15 +47,7 @@
inherit (config.packages) lysand-ap-layer ls-ap-migration;
};
# Rust package
packages.default = naersk'.buildPackage {
inherit (cargoToml.package) name version;
src = ./.;
buildInputs = nonRustDeps;
nativeBuildInputs = with pkgs; [
rust-toolchain
pkg-config
];
};
packages.default = config.packages.lysand-ap-layer;
packages.lysand-ap-layer = naersk'.buildPackage {
inherit (cargoToml.package) name version;
src = ./.;
Expand Down
274 changes: 0 additions & 274 deletions module.nix

This file was deleted.

0 comments on commit d1f7e42

Please sign in to comment.