Remove kmonad
This commit is contained in:
parent
654536019e
commit
226f1f1195
23
flake.lock
23
flake.lock
|
@ -245,28 +245,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"kmonad": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"dir": "nix",
|
|
||||||
"lastModified": 1698213131,
|
|
||||||
"narHash": "sha256-RPfi08g5DHvq5oEX57sJ1al2smBk0d9d8gAzL7jRnNQ=",
|
|
||||||
"owner": "kmonad",
|
|
||||||
"repo": "kmonad",
|
|
||||||
"rev": "1b2ec006259ddbe6cda30db8eb783e8177a9f12b",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"dir": "nix",
|
|
||||||
"owner": "kmonad",
|
|
||||||
"repo": "kmonad",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1697059129,
|
"lastModified": 1697059129,
|
||||||
|
@ -287,7 +265,6 @@
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"anyrun": "anyrun",
|
"anyrun": "anyrun",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"kmonad": "kmonad",
|
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"stylix": "stylix"
|
"stylix": "stylix"
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,17 +11,13 @@
|
||||||
url = "github:danth/stylix";
|
url = "github:danth/stylix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
kmonad = {
|
|
||||||
url = "github:kmonad/kmonad?dir=nix";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
anyrun = {
|
anyrun = {
|
||||||
url = "github:Kirottu/anyrun";
|
url = "github:Kirottu/anyrun";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, home-manager, stylix, kmonad, anyrun, ... }:
|
outputs = { nixpkgs, home-manager, stylix, anyrun, ... }:
|
||||||
let
|
let
|
||||||
default = {
|
default = {
|
||||||
hostName = "Atlas";
|
hostName = "Atlas";
|
||||||
|
@ -57,7 +53,6 @@
|
||||||
./hosts/${hostName}/hardware-configuration.nix
|
./hosts/${hostName}/hardware-configuration.nix
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
stylix.nixosModules.stylix
|
stylix.nixosModules.stylix
|
||||||
kmonad.nixosModules.default
|
|
||||||
({ config, lib, pkgs, ... }: {
|
({ config, lib, pkgs, ... }: {
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
|
|
|
@ -576,11 +576,6 @@
|
||||||
:ensure t
|
:ensure t
|
||||||
:hook prog-mode)
|
:hook prog-mode)
|
||||||
|
|
||||||
(unless (package-installed-p 'kbd-mode)
|
|
||||||
(package-vc-install
|
|
||||||
'(kbd-mode . (:url "https://github.com/kmonad/kbd-mode"))))
|
|
||||||
(use-package kbd-mode)
|
|
||||||
|
|
||||||
(setq sendmail-program (executable-find "msmtp")
|
(setq sendmail-program (executable-find "msmtp")
|
||||||
send-mail-function #'smtpmail-send-it
|
send-mail-function #'smtpmail-send-it
|
||||||
message-sendmail-f-is-evil t
|
message-sendmail-f-is-evil t
|
||||||
|
|
|
@ -690,15 +690,6 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
||||||
:hook prog-mode)
|
:hook prog-mode)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Language-specific settings
|
|
||||||
*** kmonad
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(unless (package-installed-p 'kbd-mode)
|
|
||||||
(package-vc-install
|
|
||||||
'(kbd-mode . (:url "https://github.com/kmonad/kbd-mode"))))
|
|
||||||
(use-package kbd-mode)
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
* Internet
|
* Internet
|
||||||
** TODO Email
|
** TODO Email
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
(defcfg
|
|
||||||
;; For Linux
|
|
||||||
input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd")
|
|
||||||
output (uinput-sink "My KMonad output")
|
|
||||||
|
|
||||||
;; Comment this if you want unhandled events not to be emitted
|
|
||||||
fallthrough true
|
|
||||||
|
|
||||||
;; Set this to false to disable any command-execution in KMonad
|
|
||||||
allow-cmd false
|
|
||||||
)
|
|
||||||
|
|
||||||
(defsrc
|
|
||||||
a s d f g h j k l ;
|
|
||||||
)
|
|
||||||
|
|
||||||
(defalias
|
|
||||||
met_a (tap-hold-next-release 200 a lmet)
|
|
||||||
alt_s (tap-hold-next-release 200 s lalt)
|
|
||||||
ctl_d (tap-hold-next-release 200 d lctl)
|
|
||||||
sft_f (tap-hold-next-release 200 f lsft)
|
|
||||||
|
|
||||||
sft_j (tap-hold-next-release 200 j rsft)
|
|
||||||
ctl_k (tap-hold-next-release 200 k rctl)
|
|
||||||
alt_l (tap-hold-next-release 200 l lalt)
|
|
||||||
met_; (tap-hold-next-release 200 ; rmet)
|
|
||||||
)
|
|
||||||
|
|
||||||
(deflayer homerowmods
|
|
||||||
@met_a @alt_s @ctl_d @sft_f g h @sft_j @ctl_k @alt_l @met_;
|
|
||||||
)
|
|
|
@ -1,31 +0,0 @@
|
||||||
(defcfg
|
|
||||||
;; For Linux
|
|
||||||
input (device-file "/dev/input/by-id/usb-0430_Sun_USB_Keyboard-event-kbd")
|
|
||||||
output (uinput-sink "My KMonad output")
|
|
||||||
|
|
||||||
;; Comment this if you want unhandled events not to be emitted
|
|
||||||
fallthrough true
|
|
||||||
|
|
||||||
;; Set this to false to disable any command-execution in KMonad
|
|
||||||
allow-cmd false
|
|
||||||
)
|
|
||||||
|
|
||||||
(defsrc
|
|
||||||
a s d f g h j k l ;
|
|
||||||
)
|
|
||||||
|
|
||||||
(defalias
|
|
||||||
met_a (tap-hold-next-release 200 a lmet)
|
|
||||||
alt_s (tap-hold-next-release 200 s lalt)
|
|
||||||
ctl_d (tap-hold-next-release 200 d lctl)
|
|
||||||
sft_f (tap-hold-next-release 200 f lsft)
|
|
||||||
|
|
||||||
sft_j (tap-hold-next-release 200 j rsft)
|
|
||||||
ctl_k (tap-hold-next-release 200 k rctl)
|
|
||||||
alt_l (tap-hold-next-release 200 l lalt)
|
|
||||||
met_; (tap-hold-next-release 200 ; rmet)
|
|
||||||
)
|
|
||||||
|
|
||||||
(deflayer homerowmods
|
|
||||||
@met_a @alt_s @ctl_d @sft_f g h @sft_j @ctl_k @alt_l @met_;
|
|
||||||
)
|
|
|
@ -30,7 +30,6 @@
|
||||||
accounts-daemon.enable = true;
|
accounts-daemon.enable = true;
|
||||||
dbus.packages = with pkgs; [ gcr ];
|
dbus.packages = with pkgs; [ gcr ];
|
||||||
gnome.gnome-keyring.enable = true;
|
gnome.gnome-keyring.enable = true;
|
||||||
kmonad.enable = true;
|
|
||||||
pipewire = {
|
pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue