From fd04e123fd0a427d274b79dc0720eb86e100e57f Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Sat, 20 Feb 2021 23:32:07 +0000 Subject: [PATCH] Add kerberos, various config --- home/files/mpv/input.conf | 2 ++ sets/krb5.nix | 15 +++++++++++++++ sets/pipewire.nix | 5 ++++- sets/virtualization.nix | 3 +++ system/starlight/default.nix | 1 + 5 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 sets/krb5.nix diff --git a/home/files/mpv/input.conf b/home/files/mpv/input.conf index 90e03e3..cd916ea 100644 --- a/home/files/mpv/input.conf +++ b/home/files/mpv/input.conf @@ -2,3 +2,5 @@ WHEEL_UP ignore WHEEL_DOWN ignore WHEEL_LEFT ignore WHEEL_RIGHT ignore +k add sub-scale -0.1 +K add sub-scale +0.1 diff --git a/sets/krb5.nix b/sets/krb5.nix new file mode 100644 index 0000000..1ec649e --- /dev/null +++ b/sets/krb5.nix @@ -0,0 +1,15 @@ +{ ... }: + +{ + krb5 = { + enable = true; + libdefaults.default_realm = "ARTEM.IST"; + domain_realm = { + "artem.ist" = "ARTEM.IST"; + ".artem.ist" = "ARTEM.IST"; + }; + + # Get everything else from DNS + realms."ARTEM.IST".admin_server = "manehattan.artem.ist"; + }; +} diff --git a/sets/pipewire.nix b/sets/pipewire.nix index 8c4fe8e..07a05db 100644 --- a/sets/pipewire.nix +++ b/sets/pipewire.nix @@ -12,7 +12,10 @@ }; hardware.pulseaudio.enable = lib.mkForce false; environment.systemPackages = with pkgs; [ - qjackctl pulseaudioLight + qjackctl + + carla + lsp-plugins ]; } diff --git a/sets/virtualization.nix b/sets/virtualization.nix index f238856..0d1451c 100644 --- a/sets/virtualization.nix +++ b/sets/virtualization.nix @@ -16,6 +16,9 @@ }; }; + # Breaks IPv4 on bridge + boot.kernel.sysctl."net.bridge.bridge-nf-call-iptables" = 0; + environment.systemPackages = with pkgs; [ virtmanager spice_gtk diff --git a/system/starlight/default.nix b/system/starlight/default.nix index 40a24a3..25bbdb2 100644 --- a/system/starlight/default.nix +++ b/system/starlight/default.nix @@ -11,6 +11,7 @@ ../../sets/gpu/amd.nix ../../sets/hacking.nix ../../sets/hardware.nix + ../../sets/krb5.nix ../../sets/printing.nix ../../sets/ssh.nix ../../sets/virtualization.nix