Compare commits
4 Commits
0c553e7a7d
...
e21411c2f9
| Author | SHA1 | Date | |
|---|---|---|---|
| e21411c2f9 | |||
| dcb525cce2 | |||
| dc630fe984 | |||
| ce90493654 |
@@ -26,7 +26,7 @@ flip_status_indicators = true
|
||||
"-" = "voldown 1"
|
||||
"/" = "focus search"
|
||||
"Q" = "focus queue"
|
||||
"L" = "focus library"
|
||||
# "L" = "focus library"
|
||||
"1" = "focus queue"
|
||||
"2" = "focus library"
|
||||
"h" = "move left 1"
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
username = 'hektor.misplon@gmail.com'
|
||||
auth_type = 0
|
||||
auth_data = 'KDEzMzc9PXRydTMpPzo='
|
||||
2
dots/.gitignore
vendored
2
dots/.gitignore
vendored
@@ -84,6 +84,8 @@ dkms.conf
|
||||
|
||||
# Dotenv
|
||||
.env
|
||||
.envrc
|
||||
.direnv/
|
||||
|
||||
# Prevent module files from being ignored (e.g. NestJS)
|
||||
!*.module*
|
||||
|
||||
@@ -14,10 +14,12 @@ in
|
||||
../../modules/cloud
|
||||
../../modules/comms
|
||||
../../modules/desktop/niri
|
||||
../../modules/direnv
|
||||
../../modules/3d
|
||||
../../modules/git
|
||||
../../modules/k8s/k9s.nix
|
||||
../../modules/kitty.nix
|
||||
../../modules/music
|
||||
../../modules/nvim.nix
|
||||
../../modules/ssh.nix
|
||||
../../modules/taskwarrior.nix
|
||||
|
||||
@@ -13,10 +13,12 @@ in
|
||||
../../modules/anki.nix
|
||||
../../modules/cloud
|
||||
../../modules/comms
|
||||
../../modules/direnv
|
||||
../../modules/desktop/niri
|
||||
../../modules/git
|
||||
../../modules/k8s/k9s.nix
|
||||
../../modules/kitty.nix
|
||||
../../modules/music
|
||||
../../modules/nfc
|
||||
../../modules/nvim.nix
|
||||
../../modules/ssh.nix
|
||||
|
||||
@@ -15,6 +15,7 @@ in
|
||||
../../modules/cloud
|
||||
../../modules/comms
|
||||
../../modules/dconf.nix
|
||||
../../modules/direnv
|
||||
../../modules/docker
|
||||
../../modules/git
|
||||
../../modules/k8s
|
||||
@@ -24,6 +25,7 @@ in
|
||||
../../modules/nvim.nix
|
||||
../../modules/browser
|
||||
../../modules/shell
|
||||
../../modules/music
|
||||
../../modules/taskwarrior.nix
|
||||
];
|
||||
|
||||
|
||||
7
home/modules/direnv/default.nix
Normal file
7
home/modules/direnv/default.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
}
|
||||
@@ -7,12 +7,14 @@
|
||||
k3d
|
||||
kubectl
|
||||
kubernetes
|
||||
kubernetes-helm
|
||||
kustomize
|
||||
minikube
|
||||
opentofu
|
||||
upbound
|
||||
];
|
||||
|
||||
imports = [ ./k9s.nix ];
|
||||
imports = [
|
||||
./helm.nix
|
||||
./k9s.nix
|
||||
];
|
||||
}
|
||||
|
||||
15
home/modules/k8s/helm.nix
Normal file
15
home/modules/k8s/helm.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
(wrapHelm kubernetes-helm {
|
||||
plugins = with kubernetes-helmPlugins; [
|
||||
helm-diff
|
||||
helm-git
|
||||
helm-schema
|
||||
helm-secrets
|
||||
helm-unittest
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
||||
16
home/modules/music/default.nix
Normal file
16
home/modules/music/default.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
dotsPath,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
ncspot
|
||||
# (if config.lib ? nixGL then config.lib.nixGL.wrap spotify else spotify)
|
||||
];
|
||||
|
||||
home.file = {
|
||||
".config/ncspot/config.toml".source = dotsPath + "/.config/ncspot/config.toml";
|
||||
};
|
||||
}
|
||||
@@ -1,13 +1,16 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
with pkgs;
|
||||
let
|
||||
tools = interception-tools;
|
||||
caps2esc = interception-tools-plugins.caps2esc;
|
||||
in
|
||||
{
|
||||
services.interception-tools = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
pkgs.interception-tools-plugins.caps2esc
|
||||
];
|
||||
plugins = [ caps2esc ];
|
||||
udevmonConfig = ''
|
||||
- JOB: ${pkgs.interception-tools}/bin/intercept -g $DEVNODE | ${pkgs.interception-tools-plugins.caps2esc}/bin/caps2esc -m 1 | ${pkgs.interception-tools}/bin/uinput -d $DEVNODE
|
||||
- JOB: ${tools}/bin/intercept -g $DEVNODE | ${caps2esc}/bin/caps2esc -m 1 | ${tools}/bin/uinput -d $DEVNODE
|
||||
DEVICE:
|
||||
EVENTS:
|
||||
EV_KEY: [KEY_CAPSLOCK]
|
||||
|
||||
Reference in New Issue
Block a user