diff --git a/flake.lock b/flake.lock index 9265e40..2094c4a 100644 --- a/flake.lock +++ b/flake.lock @@ -116,6 +116,30 @@ "type": "github" } }, + "kmonad": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "dir": "nix", + "lastModified": 1717741147, + "narHash": "sha256-VcGu0i6/2PVFHmyrnLivxEARX2bcPLxgkSFoUYjx3YY=", + "ref": "refs/heads/master", + "rev": "235b42610758355a664c153999c1ff03b4d918e6", + "revCount": 793, + "submodules": true, + "type": "git", + "url": "https://github.com/kmonad/kmonad?dir=nix" + }, + "original": { + "dir": "nix", + "submodules": true, + "type": "git", + "url": "https://github.com/kmonad/kmonad?dir=nix" + } + }, "nixpkgs": { "locked": { "lastModified": 1717602782, @@ -185,6 +209,7 @@ "darwin": "darwin", "emacs-larstvei": "emacs-larstvei", "home-manager": "home-manager", + "kmonad": "kmonad", "nixpkgs": "nixpkgs_3" } }, diff --git a/flake.nix b/flake.nix index 97b6c60..a802eea 100644 --- a/flake.nix +++ b/flake.nix @@ -13,10 +13,14 @@ url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; + kmonad = { + url = "git+https://github.com/kmonad/kmonad?submodules=1&dir=nix"; + inputs.nixpkgs.follows = "nixpkgs"; + }; emacs-larstvei.url = "github:larstvei/dot-emacs"; }; - outputs = { self, nixpkgs, darwin, home-manager, emacs-larstvei, ... }@inputs: { + outputs = { self, nixpkgs, darwin, home-manager, kmonad, emacs-larstvei, ... }@inputs: { darwinConfigurations."larstvei-macbookpro" = darwin.lib.darwinSystem { system = "aarch64-darwin"; diff --git a/modules/home.nix b/modules/home.nix index 57edcf9..451a681 100644 --- a/modules/home.nix +++ b/modules/home.nix @@ -1,8 +1,9 @@ -{ pkgs, emacs-larstvei, ... }: { +{ pkgs, kmonad, emacs-larstvei, ... }: { home.packages = with pkgs; [ emacs-larstvei.defaultPackage.${pkgs.system} + kmonad.packages.${pkgs.system}.default (aspellWithDicts (dpkgs: with dpkgs; [ en