diff --git a/flake.lock b/flake.lock index 747a187..92ae05c 100644 --- a/flake.lock +++ b/flake.lock @@ -75,6 +75,22 @@ "type": "github" } }, + "flake-compat": { + "flake": false, + "locked": { + "lastModified": 1747046372, + "narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, "flake-parts": { "inputs": { "nixpkgs-lib": "nixpkgs-lib" @@ -111,6 +127,24 @@ "type": "github" } }, + "flake-utils": { + "inputs": { + "systems": "systems_2" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "fmt-src": { "flake": false, "locked": { @@ -128,6 +162,28 @@ "type": "github" } }, + "helium": { + "inputs": { + "flake-compat": "flake-compat", + "flake-utils": "flake-utils", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1777191375, + "narHash": "sha256-h87r5Y4MZsknMyEmeuRUukPDYDwUgsXSMbG5m2bTn5I=", + "owner": "AlvaroParker", + "repo": "helium-nix", + "rev": "1b1f294b1aa77952a4654838d3e292b514069699", + "type": "github" + }, + "original": { + "owner": "AlvaroParker", + "repo": "helium-nix", + "type": "github" + } + }, "hjem": { "inputs": { "nix-darwin": "nix-darwin", @@ -475,6 +531,7 @@ "inputs": { "bun2nix": "bun2nix", "flake-parts": "flake-parts_2", + "helium": "helium", "hjem": "hjem", "import-tree": "import-tree_2", "millennium": "millennium", @@ -511,7 +568,7 @@ "nixpkgs" ], "rust-overlay": "rust-overlay", - "systems": "systems_2" + "systems": "systems_3" }, "locked": { "lastModified": 1771208268, @@ -557,6 +614,21 @@ "type": "github" } }, + "systems_3": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "treefmt-nix": { "inputs": { "nixpkgs": [ diff --git a/flake.nix b/flake.nix index 6cd6074..5f03653 100644 --- a/flake.nix +++ b/flake.nix @@ -19,6 +19,11 @@ bun2nix.url = "github:nix-community/bun2nix"; bun2nix.inputs.nixpkgs.follows = "nixpkgs"; + + helium = { + url = "github:AlvaroParker/helium-nix"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } (inputs.import-tree ./modules); diff --git a/modules/features/helium.nix b/modules/features/helium.nix new file mode 100644 index 0000000..0a97c08 --- /dev/null +++ b/modules/features/helium.nix @@ -0,0 +1,12 @@ +{ self, inputs, ... }: +{ + flake.nixosModules.helium = + { pkgs, lib, ... }: + { + config = { + environment.systemPackages = [ + inputs.helium.packages.${pkgs.stdenv.hostPlatform.system}.default + ]; + }; + }; +} diff --git a/modules/hosts/laptop/configuration.nix b/modules/hosts/laptop/configuration.nix index 4781048..8e6165c 100644 --- a/modules/hosts/laptop/configuration.nix +++ b/modules/hosts/laptop/configuration.nix @@ -11,6 +11,7 @@ self.nixosModules.pipewire self.nixosModules.development self.nixosModules.librewolf + self.nixosModules.helium #self.nixosModules.hyprland self.nixosModules.niri self.nixosModules.user