Skip to content

Commit

Permalink
chore: small refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
azahi committed Jan 11, 2025
1 parent ae31757 commit 434ae5f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
10 changes: 1 addition & 9 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
{
description = "haqq.nix";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/release-24.11";

flake-parts.url = "github:hercules-ci/flake-parts";
};

outputs =
inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" ];

imports = [ ./nix ];
};
outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } { imports = [ ./nix ]; };
}
5 changes: 4 additions & 1 deletion nix/default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
_: {
{ lib, ... }:
{
imports = [
./modules
./overlays.nix
./packages
./partitions
./tests
];

systems = lib.systems.flakeExposed;
}
2 changes: 1 addition & 1 deletion nix/modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
default = config.flake.nixosModules.haqqd;

haqqd = {
nixpkgs.overlays = [ inputs.self.overlays.default ];
imports = [ ./haqqd ];
nixpkgs.overlays = [ inputs.self.overlays.default ];
};
};
}

0 comments on commit 434ae5f

Please sign in to comment.