summaryrefslogtreecommitdiff
path: root/nixpkgs/common.nix
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-07-15 21:21:12 +0200
committerAlex Auvolat <alex@adnab.me>2023-07-15 21:21:12 +0200
commit4fdfa0b7a6f4e2a8e29961a9b8c5dd4d88c34fa0 (patch)
treeecc97a221d656be48b47977a1adebe7c1352235e /nixpkgs/common.nix
parentbbd454dd95450452e9f1d732b8f2fe039ada9362 (diff)
downloaduser-config-4fdfa0b7a6f4e2a8e29961a9b8c5dd4d88c34fa0.tar.gz
user-config-4fdfa0b7a6f4e2a8e29961a9b8c5dd4d88c34fa0.zip
cascading solutions to problems:
- home manager didn't work, now works using nix run - allows us to update sxrc from this repo - so that we can use custom keymap (using paths in nix store to xkcbomp from nixpkgs, and to custom-fr from this repo)
Diffstat (limited to 'nixpkgs/common.nix')
-rw-r--r--nixpkgs/common.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixpkgs/common.nix b/nixpkgs/common.nix
index b0adf33..a52062c 100644
--- a/nixpkgs/common.nix
+++ b/nixpkgs/common.nix
@@ -48,7 +48,9 @@
home.file = {
".vim/coc-settings.json".source = ../vim/coc-settings.json;
".config/tmux/tmux.conf".source = ../tmux/tmux.conf;
+ ".config/sx/sxrc".executable = true;
".config/sx/sxrc".text = ''
+ ${pkgs.xorg.xkbcomp}/bin/xkbcomp ${../xkb/symbols/custom-fr} $DISPLAY
icewm-session
'';
".config/icewm/preferences".source = ../icewm/preferences;