cosmic: update hm module

This commit is contained in:
tristan 2024-10-19 14:58:39 +01:00
parent 56dc76e1cf
commit 83c08c6d75
3 changed files with 7 additions and 7 deletions

8
flake.lock generated
View file

@ -304,17 +304,17 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1728250817, "lastModified": 1729339643,
"narHash": "sha256-OVHpUlNxHpQUe2Waav/MR+Z7fm6ft/w8SxWlvXv+AdU=", "narHash": "sha256-NNJ9s0axzL2XRsqTF8Zx/OzjW7LngWwMbSeHOCXukbk=",
"owner": "tristanbeedell", "owner": "tristanbeedell",
"repo": "home-manager", "repo": "home-manager",
"rev": "ce770a3e442b2105852a6f5f79f3645b4c64505c", "rev": "4e0f341e97b8a70be8a396d3778efbd8209e302e",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "tristanbeedell", "owner": "tristanbeedell",
"ref": "cosmic",
"repo": "home-manager", "repo": "home-manager",
"rev": "4e0f341e97b8a70be8a396d3778efbd8209e302e",
"type": "github" "type": "github"
} }
}, },

View file

@ -6,7 +6,7 @@
url = "github:nix-community/home-manager/master"; url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
home-manager-cosmic.url = "github:tristanbeedell/home-manager/cosmic"; home-manager-cosmic.url = "github:tristanbeedell/home-manager/4e0f341e97b8a70be8a396d3778efbd8209e302e";
stylix.url = "github:danth/stylix"; stylix.url = "github:danth/stylix";
sops-nix.url = "github:Mic92/sops-nix"; sops-nix.url = "github:Mic92/sops-nix";
nixos-cosmic = { nixos-cosmic = {

View file

@ -4,12 +4,12 @@
lib, lib,
... ...
}: let }: let
inherit (config.lib.cosmic) Actions; inherit (config.lib.cosmic) Actions mapBinds;
in { in {
programs.cosmic = { programs.cosmic = {
enable = true; enable = true;
input.asDefaults = true; input.asDefaults = true;
input.binds = { input.binds = mapBinds {
# Navigation # Navigation
Super. "h" = Actions.Focus "Left"; Super. "h" = Actions.Focus "Left";
Super. "l" = Actions.Focus "Right"; Super. "l" = Actions.Focus "Right";