Compare commits

..

No commits in common. "68aa7a16f81cc1eba4a66c1d6f27622f56541072" and "bd66f82a7e1760111b73faa0e96e27b4216bca35" have entirely different histories.

3 changed files with 5 additions and 17 deletions

View file

@ -24,14 +24,6 @@ let
emoji_picker = "${pkgs.bemoji}/bin/bemoji -t";
terminal = "${pkgs.kitty}/bin/kitty";
layout_toggle_script = pkgs.writeShellScriptBin "layout-toggle" ''
current_layout="$(${pkgs.hyprland}/bin/hyprctl getoption general:layout -j | ${pkgs.jq}/bin/jq -r .str)"
case "$current_layout" in
master) ${pkgs.hyprland}/bin/hyprctl -q keyword general:layout dwindle ;;
dwindle) ${pkgs.hyprland}/bin/hyprctl -q keyword general:layout master ;;
esac
'';
generate_grim_command = target: ''
exec mkdir -p ~/screenshots \
&& ${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)" \
@ -155,11 +147,6 @@ in
preserve_split = true;
};
# Master layout
master = {
orientation = "center";
};
# Window rules
windowrule = [
"suppress_event maximize, match:class .*"
@ -221,7 +208,6 @@ in
"$mod SHIFT, o, movetoworkspace, 9"
# Layout
"$mod, g, exec, ${layout_toggle_script}/bin/layout-toggle"
"$mod, v, togglesplit"
"$mod, f, fullscreen"
"$mod SHIFT, f, togglefloating"

View file

@ -13,6 +13,7 @@ let
;
cfg = config.aa.nix;
selfHostedCacheHost = "https://cache.kilonull.com/";
in
{
options.aa.nix = {
@ -71,12 +72,13 @@ in
if cfg.useSelfhostedCache then
[
# TESTING
"https://attic.kilonull.com/nixosConfigs"
"https://minio.kilonull.com/nix-store"
selfHostedCacheHost
]
else
[ ];
trusted-public-keys = mkIf cfg.useSelfhostedCache [
"nixosConfigs:mjWq+JcnAqwT20OZSsrh9od6LTNn8U3cYdaXhqhDqP0="
"gospelCache:9cbn8Wm54BbwpPS0TXw+15wrYZBpfOJt4Fzfbfcq/pc="
];
};

View file

@ -9,7 +9,7 @@
aa = {
nix = {
enable = true;
useSelfhostedCache = true;
useSelfhostedCache = false;
remoteBuilder.client.enable = false;
};