Install kmonad

This commit is contained in:
larstvei 2024-07-06 15:05:36 +02:00
parent caa4b893ef
commit c2d1d11231
3 changed files with 32 additions and 2 deletions

View File

@ -116,6 +116,30 @@
"type": "github" "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": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1717602782, "lastModified": 1717602782,
@ -185,6 +209,7 @@
"darwin": "darwin", "darwin": "darwin",
"emacs-larstvei": "emacs-larstvei", "emacs-larstvei": "emacs-larstvei",
"home-manager": "home-manager", "home-manager": "home-manager",
"kmonad": "kmonad",
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_3"
} }
}, },

View File

@ -13,10 +13,14 @@
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; 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"; 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 { darwinConfigurations."larstvei-macbookpro" = darwin.lib.darwinSystem {
system = "aarch64-darwin"; system = "aarch64-darwin";

View File

@ -1,8 +1,9 @@
{ pkgs, emacs-larstvei, ... }: { { pkgs, kmonad, emacs-larstvei, ... }: {
home.packages = with pkgs; [ home.packages = with pkgs; [
emacs-larstvei.defaultPackage.${pkgs.system} emacs-larstvei.defaultPackage.${pkgs.system}
kmonad.packages.${pkgs.system}.default
(aspellWithDicts (aspellWithDicts
(dpkgs: with dpkgs; [ (dpkgs: with dpkgs; [
en en