Compare commits

..

4 Commits

Author SHA1 Message Date
e21411c2f9 feat: add helm plugins declaratively 2026-02-07 14:20:28 +01:00
dcb525cce2 feat: set up 'music' module 2026-02-07 14:20:27 +01:00
dc630fe984 refactor: simplify keyboard module 2026-02-07 14:20:04 +01:00
ce90493654 feat: add 'direnv' module 2026-02-07 14:20:04 +01:00
11 changed files with 58 additions and 10 deletions

View File

@@ -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"

View File

@@ -1,3 +0,0 @@
username = 'hektor.misplon@gmail.com'
auth_type = 0
auth_data = 'KDEzMzc9PXRydTMpPzo='

2
dots/.gitignore vendored
View File

@@ -84,6 +84,8 @@ dkms.conf
# Dotenv
.env
.envrc
.direnv/
# Prevent module files from being ignored (e.g. NestJS)
!*.module*

View File

@@ -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

View File

@@ -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

View File

@@ -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
];

View File

@@ -0,0 +1,7 @@
{
programs.direnv = {
enable = true;
enableBashIntegration = true;
nix-direnv.enable = true;
};
}

View File

@@ -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
View 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
];
})
];
}

View 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";
};
}

View File

@@ -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]