Skip to content

Commit

Permalink
misc: cleanup flake
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelCoding committed Nov 29, 2024
1 parent 983ba02 commit 89e617d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 41 deletions.
37 changes: 3 additions & 34 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 5 additions & 7 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
nixConfig = {
extra-substituters = [ "https://nix-cache.hq.c3d2.de" ];
extra-trusted-public-keys = [ "nix-cache.hq.c3d2.de:KZRGGnwOYzys6pxgM8jlur36RmkJQ/y8y62e52fj1ps=" ];
};

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
nixpkgs-2311.url = "github:NixOS/nixpkgs/nixos-23.11";
Expand Down Expand Up @@ -55,6 +50,7 @@
url = "github:tlm-solutions/kindergarten";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-utils.follows = "flake-utils";
};
};

Expand Down Expand Up @@ -297,8 +293,10 @@
# here we evaluate over all nixos configurations making this extremely slow
apps."x86_64-linux" = (import ./pkgs/deployment.nix { inherit self pkgs lib; });

nixosConfigurations = lib.attrsets.mapAttrs (name: value:
(if (name == "notice-me-senpai") then (nixpkgs-2311.lib.nixosSystem value) else (nixpkgs.lib.nixosSystem value))) unevaluatedNixosConfigurations;
nixosConfigurations = lib.attrsets.mapAttrs
(name: value:
(if (name == "notice-me-senpai") then (nixpkgs-2311.lib.nixosSystem value) else (nixpkgs.lib.nixosSystem value)))
unevaluatedNixosConfigurations;

hydraJobs =
let
Expand Down

0 comments on commit 89e617d

Please sign in to comment.