305 current 2025-01-25 21:36:27 25.05.20241217.d3c42f1 6.6.66 *

This commit is contained in:
2025-01-25 22:05:27 -05:00
parent 49b85023ec
commit 16a0fe100a
2 changed files with 35 additions and 8 deletions

22
flake.lock generated
View File

@@ -18,6 +18,27 @@
"type": "github" "type": "github"
} }
}, },
"haumea": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1685133229,
"narHash": "sha256-FePm/Gi9PBSNwiDFq3N+DWdfxFq0UKsVVTJS3cQPn94=",
"owner": "nix-community",
"repo": "haumea",
"rev": "34dd58385092a23018748b50f9b23de6266dffc2",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "v0.2.2",
"repo": "haumea",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@@ -69,6 +90,7 @@
"root": { "root": {
"inputs": { "inputs": {
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"haumea": "haumea",
"home-manager": "home-manager", "home-manager": "home-manager",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
} }

View File

@@ -10,26 +10,25 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
# old haumea = {
# nur = { url = "github:nix-community/haumea/v0.2.2";
# url = "github:nix-community/NUR"; inputs.nixpkgs.follows = "nixpkgs";
# inputs.nixpkgs.follows = "nixpkgs"; };
# };
}; };
outputs = inputs @ { outputs = inputs @ {
flake-parts, flake-parts,
self, self,
haumea,
nixpkgs,
... ...
}: }:
flake-parts.lib.mkFlake {inherit inputs;} { flake-parts.lib.mkFlake {inherit inputs;} {
imports = [ imports = [
# To import a flake module # To import a flake module
# 1. Add foo to inputs
# 2. Add foo as a parameter to the outputs function
# 3. Add here: foo.flakeModule
#cajun-xmonad.default #cajun-xmonad.default
]; ];
systems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin"]; systems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin"];
perSystem = { perSystem = {
config, config,
@@ -49,6 +48,12 @@
formatter = pkgs.alejandra; formatter = pkgs.alejandra;
}; };
flake = { flake = {
lib = haumea.lib.load {
scripts = ./scripts;
inputs = {
inherit (nixpkgs) lib;
};
};
# The usual flake attributes can be defined here, including system- # The usual flake attributes can be defined here, including system-
# agnostic ones like nixosModule and system-enumerating ones, although # agnostic ones like nixosModule and system-enumerating ones, although
# those are more easily expressed in perSystem. # those are more easily expressed in perSystem.