chore: nix fmt
This commit is contained in:
parent
a9be5375ca
commit
a1df9205d5
8 changed files with 16 additions and 12 deletions
4
Justfile
4
Justfile
|
@ -230,8 +230,8 @@ switch-gpg-card key-id="6EEFA706CB17E89B":
|
|||
# Connect the new device and then run this script to make it known to gnupg.
|
||||
#
|
||||
set -xe
|
||||
if [[ -n "{{key-id}}" ]]; then
|
||||
KEY_ID="{{key-id}}"
|
||||
if [[ -n "{{ key-id }}" ]]; then
|
||||
KEY_ID="{{ key-id }}"
|
||||
else
|
||||
KEY_ID=$(gpg --card-status | rg sec | rg -o '[0-9A-Z]{16}')
|
||||
fi
|
||||
|
|
|
@ -161,7 +161,8 @@ in
|
|||
# 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}+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}";
|
||||
|
||||
|
|
|
@ -173,6 +173,7 @@ let
|
|||
|
||||
# enable pipewire (and libcamera) sources
|
||||
"media.webrtc.camera.allow-pipewire" = true;
|
||||
|
||||
};
|
||||
|
||||
userChrome =
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{ lib, pkgs, osConfig, ... }:
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
osConfig,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.packages = [ pkgs.gcr ];
|
||||
|
||||
|
|
|
@ -70,7 +70,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
|
||||
# TODO: find out if smbpasswd file is still used and set it here. or find an alternative
|
||||
# sops.secrets.smbpasswd = {
|
||||
# };
|
||||
|
|
|
@ -406,7 +406,6 @@ in
|
|||
domain = "kanidm.${domain}";
|
||||
origin = "https://kanidm.${domain}";
|
||||
|
||||
|
||||
bindaddress = "127.0.0.1:8444";
|
||||
|
||||
# don't expose ldap
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
{
|
||||
networking.nat = {
|
||||
enable = true;
|
||||
internalInterfaces = ["ve-+"];
|
||||
internalInterfaces = [ "ve-+" ];
|
||||
# externalInterface = "enu1u1u2";
|
||||
# Lazy IPv6 connectivity for the container
|
||||
# enableIPv6 = true;
|
||||
|
@ -283,5 +283,6 @@
|
|||
|
||||
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";
|
||||
}
|
||||
|
|
|
@ -95,10 +95,8 @@
|
|||
inherit mkNixosConfiguration;
|
||||
};
|
||||
|
||||
overlays.default =
|
||||
_final: _previous:
|
||||
{
|
||||
};
|
||||
overlays.default = _final: _previous: {
|
||||
};
|
||||
|
||||
nixosConfigurations = {
|
||||
native = mkNixosConfiguration { system = nativeSystem; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue