chore: nix fmt

This commit is contained in:
steveej 2025-05-28 17:06:11 +02:00
parent a9be5375ca
commit a1df9205d5
8 changed files with 16 additions and 12 deletions

View file

@ -161,7 +161,8 @@ in
# TODO: i've been hitting this one accidentally way too often. find a better place. # TODO: i've been hitting this one accidentally way too often. find a better place.
# "${modifier}+Shift+e" = "exec ${pkgs.sway}/bin/swaymsg exit"; # "${modifier}+Shift+e" = "exec ${pkgs.sway}/bin/swaymsg exit";
"${modifier}+q" = "kill"; "${modifier}+q" = "kill";
"${modifier}+Shift+q" = "exec ${pkgs.sway}/bin/swaymsg -t get_tree | ${pkgs.jq}/bin/jq 'recurse(.nodes[], .floating_nodes[]) | select(.focused).pid' | ${pkgs.findutils}/bin/xargs -L1 kill -9"; "${modifier}+Shift+q" =
"exec ${pkgs.sway}/bin/swaymsg -t get_tree | ${pkgs.jq}/bin/jq 'recurse(.nodes[], .floating_nodes[]) | select(.focused).pid' | ${pkgs.findutils}/bin/xargs -L1 kill -9";
"${modifier}+x" = "exec ${swapOutputWorkspaces}"; "${modifier}+x" = "exec ${swapOutputWorkspaces}";

View file

@ -173,6 +173,7 @@ let
# enable pipewire (and libcamera) sources # enable pipewire (and libcamera) sources
"media.webrtc.camera.allow-pipewire" = true; "media.webrtc.camera.allow-pipewire" = true;
}; };
userChrome = userChrome =

View file

@ -1,4 +1,9 @@
{ lib, pkgs, osConfig, ... }: {
lib,
pkgs,
osConfig,
...
}:
{ {
home.packages = [ pkgs.gcr ]; home.packages = [ pkgs.gcr ];

View file

@ -70,7 +70,6 @@
}; };
}; };
# TODO: find out if smbpasswd file is still used and set it here. or find an alternative # TODO: find out if smbpasswd file is still used and set it here. or find an alternative
# sops.secrets.smbpasswd = { # sops.secrets.smbpasswd = {
# }; # };

View file

@ -406,7 +406,6 @@ in
domain = "kanidm.${domain}"; domain = "kanidm.${domain}";
origin = "https://kanidm.${domain}"; origin = "https://kanidm.${domain}";
bindaddress = "127.0.0.1:8444"; bindaddress = "127.0.0.1:8444";
# don't expose ldap # don't expose ldap

View file

@ -283,5 +283,6 @@
nix.settings.sandbox = lib.mkForce "relaxed"; nix.settings.sandbox = lib.mkForce "relaxed";
systemd.user.services.wireplumber.environment.LIBCAMERA_IPA_PROXY_PATH = "${pkgs.libcamera}/libexec/libcamera"; systemd.user.services.wireplumber.environment.LIBCAMERA_IPA_PROXY_PATH =
"${pkgs.libcamera}/libexec/libcamera";
} }

View file

@ -95,9 +95,7 @@
inherit mkNixosConfiguration; inherit mkNixosConfiguration;
}; };
overlays.default = overlays.default = _final: _previous: {
_final: _previous:
{
}; };
nixosConfigurations = { nixosConfigurations = {