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,17 +51,18 @@ in
|
||||||
en_US-large
|
en_US-large
|
||||||
it_IT
|
it_IT
|
||||||
]);
|
]);
|
||||||
home.activation = {
|
home.activation.cloneCcrEmacsFlake =
|
||||||
cloneCcrEmacsFlake = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
let
|
||||||
PATH=$PATH:${
|
path = lib.makeBinPath (
|
||||||
lib.makeBinPath (
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
[
|
[
|
||||||
git
|
git
|
||||||
openssh
|
openssh
|
||||||
]
|
]
|
||||||
)
|
);
|
||||||
}
|
in
|
||||||
|
lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||||
|
PATH=$PATH:${path}
|
||||||
if [ ! -d "$HOME/.config/emacs" ]; then
|
if [ ! -d "$HOME/.config/emacs" ]; then
|
||||||
mkdir "$HOME/.config/emacs"
|
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/projects/aciceri/nixfleet/hmModules/emacs/init.el" "$HOME/.config/emacs/init.el"
|
||||||
|
@ -69,5 +70,4 @@ in
|
||||||
fi
|
fi
|
||||||
$DRY_RUN_CMD ln -sfn ${treesitGrammars} "$HOME/.config/emacs/tree-sitter"
|
$DRY_RUN_CMD ln -sfn ${treesitGrammars} "$HOME/.config/emacs/tree-sitter"
|
||||||
'';
|
'';
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -62,6 +62,7 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
profiles.default = {
|
profiles.default = {
|
||||||
|
search.force = true;
|
||||||
search.default = "DuckDuckGo";
|
search.default = "DuckDuckGo";
|
||||||
search.engines = {
|
search.engines = {
|
||||||
"Searx" = {
|
"Searx" = {
|
||||||
|
|
|
@ -30,9 +30,10 @@ windowrulev2 = workspace 9, class:^(Spotify)$
|
||||||
windowrulev2 = float, title:^(floating)$
|
windowrulev2 = float, title:^(floating)$
|
||||||
|
|
||||||
bind = $mod, b, exec, firefox
|
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, 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, d, exec, fuzzel --background-color=253559cc --border-radius=5 --border-width=0
|
||||||
bind = $mod, s, exec, screenshot.sh
|
bind = $mod, s, exec, screenshot.sh
|
||||||
bind = $mod, n, exec, logseq
|
bind = $mod, n, exec, logseq
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
WantedBy = [ "default.target" ];
|
WantedBy = [ "default.target" ];
|
||||||
};
|
};
|
||||||
Service = {
|
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";
|
ExecStart = "${lib.getExe pkgs.atuin} daemon";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -83,7 +83,8 @@
|
||||||
];
|
];
|
||||||
shellInit =
|
shellInit =
|
||||||
''
|
''
|
||||||
fish_vi_key_bindings
|
# fish_vi_key_bindings
|
||||||
|
fish_default_key_bindings
|
||||||
''
|
''
|
||||||
+ lib.optionalString (builtins.hasAttr "cachix-personal-token" age.secrets) ''
|
+ lib.optionalString (builtins.hasAttr "cachix-personal-token" age.secrets) ''
|
||||||
export CACHIX_AUTH_TOKEN=$(cat ${age.secrets.cachix-personal-token.path})
|
export CACHIX_AUTH_TOKEN=$(cat ${age.secrets.cachix-personal-token.path})
|
||||||
|
|
|
@ -73,7 +73,6 @@
|
||||||
"imv"
|
"imv"
|
||||||
"catppuccin"
|
"catppuccin"
|
||||||
"libreoffice"
|
"libreoffice"
|
||||||
"logseq"
|
|
||||||
"emacs"
|
"emacs"
|
||||||
];
|
];
|
||||||
extraGroups = [ ];
|
extraGroups = [ ];
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
"hass-poweroff"
|
"hass-poweroff"
|
||||||
"forgejo-runners"
|
"forgejo-runners"
|
||||||
"teamviewer"
|
"teamviewer"
|
||||||
"macos-ventura"
|
# "macos-ventura"
|
||||||
"sunshine"
|
"sunshine"
|
||||||
"mount-sisko"
|
"mount-sisko"
|
||||||
"adb"
|
"adb"
|
||||||
|
@ -90,7 +90,6 @@
|
||||||
"zathura"
|
"zathura"
|
||||||
"imv"
|
"imv"
|
||||||
"libreoffice"
|
"libreoffice"
|
||||||
"logseq"
|
|
||||||
"emacs"
|
"emacs"
|
||||||
"vial"
|
"vial"
|
||||||
];
|
];
|
||||||
|
@ -128,10 +127,15 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
systemd.services.ddcci = {
|
systemd.services.ddcci = {
|
||||||
serviceConfig.Type = "oneshot";
|
|
||||||
script = ''
|
script = ''
|
||||||
echo 'ddcci 0x37' > /sys/bus/i2c/devices/i2c-2/new_device
|
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;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
|
@ -89,6 +89,7 @@ let
|
||||||
kind-icon
|
kind-icon
|
||||||
ef-themes
|
ef-themes
|
||||||
indent-bars
|
indent-bars
|
||||||
|
ement
|
||||||
])
|
])
|
||||||
++ (with nongnuPackages; [
|
++ (with nongnuPackages; [
|
||||||
eat
|
eat
|
||||||
|
|
Loading…
Add table
Reference in a new issue