Compare commits
8 commits
5fe4764f01
...
dd626c2fc0
Author | SHA1 | Date | |
---|---|---|---|
dd626c2fc0 | |||
939f79f04d | |||
9dea0100c9 | |||
f30f235f19 | |||
115aa92ddd | |||
bd8e6a0715 | |||
e23c78fdb5 | |||
d5cf98310f |
7 changed files with 33 additions and 26 deletions
|
@ -51,23 +51,23 @@ in
|
|||
en_US-large
|
||||
it_IT
|
||||
]);
|
||||
home.activation = {
|
||||
cloneCcrEmacsFlake = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
PATH=$PATH:${
|
||||
lib.makeBinPath (
|
||||
with pkgs;
|
||||
[
|
||||
git
|
||||
openssh
|
||||
]
|
||||
)
|
||||
}
|
||||
if [ ! -d "$HOME/.config/emacs" ]; then
|
||||
mkdir "$HOME/.config/emacs"
|
||||
$DRY_RUN_CMD ln -s "$HOME/projects/aciceri/nixfleet/hmModules/emacs/init.el" "$HOME/.config/emacs/init.el"
|
||||
$DRY_RUN_CMD ln -s "$HOME/.config/emacs" "$HOME/emacs"
|
||||
fi
|
||||
$DRY_RUN_CMD ln -sfn ${treesitGrammars} "$HOME/.config/emacs/tree-sitter"
|
||||
home.activation.cloneCcrEmacsFlake =
|
||||
let
|
||||
path = lib.makeBinPath (
|
||||
with pkgs;
|
||||
[
|
||||
git
|
||||
openssh
|
||||
]
|
||||
);
|
||||
in
|
||||
lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
PATH=$PATH:${path}
|
||||
if [ ! -d "$HOME/.config/emacs" ]; then
|
||||
mkdir "$HOME/.config/emacs"
|
||||
$DRY_RUN_CMD ln -s "$HOME/projects/aciceri/nixfleet/hmModules/emacs/init.el" "$HOME/.config/emacs/init.el"
|
||||
$DRY_RUN_CMD ln -s "$HOME/.config/emacs" "$HOME/emacs"
|
||||
fi
|
||||
$DRY_RUN_CMD ln -sfn ${treesitGrammars} "$HOME/.config/emacs/tree-sitter"
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -62,6 +62,7 @@ in
|
|||
];
|
||||
};
|
||||
profiles.default = {
|
||||
search.force = true;
|
||||
search.default = "DuckDuckGo";
|
||||
search.engines = {
|
||||
"Searx" = {
|
||||
|
|
|
@ -30,9 +30,10 @@ windowrulev2 = workspace 9, class:^(Spotify)$
|
|||
windowrulev2 = float, title:^(floating)$
|
||||
|
||||
bind = $mod, b, exec, firefox
|
||||
bind = $mod, t, exec, footclient $SHELL -C "zellij"
|
||||
# bind = $mod, t, exec, footclient $SHELL -C "zellij"
|
||||
bind = $mod, t, exec, footclient $SHELL
|
||||
bind = $mod, RETURN, exec, emacsclient -c --eval "(ccr/start-eshell)"
|
||||
bind = $mod, m, exec, footclient $SHELL -C "aerc"
|
||||
bind = $mod, m, exec, emacsclient -c --eval '(notmuch-search "tag:new")'
|
||||
bind = $mod, d, exec, fuzzel --background-color=253559cc --border-radius=5 --border-width=0
|
||||
bind = $mod, s, exec, screenshot.sh
|
||||
bind = $mod, n, exec, logseq
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
WantedBy = [ "default.target" ];
|
||||
};
|
||||
Service = {
|
||||
# ExecStartPre = "${lib.getExe' pkgs.toybox "rm"} -f ${config.programs.atuin.settings.daemon.socket_path}";
|
||||
ExecStartPre = "${lib.getExe' pkgs.toybox "rm"} -f ${config.programs.atuin.settings.daemon.socket_path}";
|
||||
ExecStart = "${lib.getExe pkgs.atuin} daemon";
|
||||
};
|
||||
};
|
||||
|
@ -83,7 +83,8 @@
|
|||
];
|
||||
shellInit =
|
||||
''
|
||||
fish_vi_key_bindings
|
||||
# fish_vi_key_bindings
|
||||
fish_default_key_bindings
|
||||
''
|
||||
+ lib.optionalString (builtins.hasAttr "cachix-personal-token" age.secrets) ''
|
||||
export CACHIX_AUTH_TOKEN=$(cat ${age.secrets.cachix-personal-token.path})
|
||||
|
|
|
@ -73,7 +73,6 @@
|
|||
"imv"
|
||||
"catppuccin"
|
||||
"libreoffice"
|
||||
"logseq"
|
||||
"emacs"
|
||||
];
|
||||
extraGroups = [ ];
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
"hass-poweroff"
|
||||
"forgejo-runners"
|
||||
"teamviewer"
|
||||
"macos-ventura"
|
||||
# "macos-ventura"
|
||||
"sunshine"
|
||||
"mount-sisko"
|
||||
"adb"
|
||||
|
@ -90,7 +90,6 @@
|
|||
"zathura"
|
||||
"imv"
|
||||
"libreoffice"
|
||||
"logseq"
|
||||
"emacs"
|
||||
"vial"
|
||||
];
|
||||
|
@ -128,10 +127,15 @@
|
|||
];
|
||||
|
||||
systemd.services.ddcci = {
|
||||
serviceConfig.Type = "oneshot";
|
||||
script = ''
|
||||
echo 'ddcci 0x37' > /sys/bus/i2c/devices/i2c-2/new_device
|
||||
'';
|
||||
wantedBy = [ "graphical.target" ];
|
||||
restartIfChanged = false;
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = true;
|
||||
};
|
||||
};
|
||||
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
|
|
@ -89,6 +89,7 @@ let
|
|||
kind-icon
|
||||
ef-themes
|
||||
indent-bars
|
||||
ement
|
||||
])
|
||||
++ (with nongnuPackages; [
|
||||
eat
|
||||
|
|
Loading…
Add table
Reference in a new issue