Compare commits

...

5 commits

8 changed files with 11 additions and 26 deletions

View file

@ -66,7 +66,6 @@
, purge , purge
, trucksimulatorbot , trucksimulatorbot
, pfersel , pfersel
, caddy-patched
, ... , ...
}@attrs: { }@attrs: {
packages.x86_64-linux = { packages.x86_64-linux = {

View file

@ -1,4 +1,4 @@
{ config, caddy-patched, ... }: { config, ... }:
let let
# matrix homeserver discovery # matrix homeserver discovery
matrix_domain = "matrix.${config.networking.domain}"; matrix_domain = "matrix.${config.networking.domain}";

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: { config, ... }:
let let
homeserverDomain = config.services.matrix-synapse.settings.server_name; homeserverDomain = config.services.matrix-synapse.settings.server_name;
in in

View file

@ -26,6 +26,9 @@
curlFull curlFull
wireguard-tools wireguard-tools
etherape etherape
openconnect
openvpn
openfortivpn
]; ];
services.timesyncd.servers = lib.mkForce [ ]; services.timesyncd.servers = lib.mkForce [ ];
services.resolved = { services.resolved = {

View file

@ -1,13 +1,13 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
virtualisation = { virtualisation = {
podman = { # podman = {
enable = true;
defaultNetwork.settings.dns_enabled = true;
};
# docker = {
# enable = true; # enable = true;
# defaultNetwork.settings.dns_enabled = true;
# }; # };
docker = {
enable = true;
};
libvirtd = { libvirtd = {
enable = true; enable = true;
qemu = { qemu = {

View file

@ -1,4 +1,4 @@
{ pkgs, lib, ... }: { ... }:
{ {
# fixes run0 failing to execute # fixes run0 failing to execute

View file

@ -62,12 +62,6 @@ in
interactiveShellInit = interactiveShellInit =
'' ''
export MCFLY_KEY_SCHEME=vim
export MCFLY_FUZZY=2
export MCFLY_DISABLE_MENU=TRUE
export MCFLY_RESULTS=30
export MCFLY_INTERFACE_VIEW=BOTTOM
export MCFLY_PROMPT=""
export ZVM_FAST_ESCAPE=true export ZVM_FAST_ESCAPE=true
# fix for networkctl # fix for networkctl
zstyle ':completion:*:complete:networkctl:*' list-grouped true zstyle ':completion:*:complete:networkctl:*' list-grouped true
@ -77,16 +71,6 @@ in
zvm_after_init_commands+=(eval "$(atuin init zsh --disable-up-arrow)") zvm_after_init_commands+=(eval "$(atuin init zsh --disable-up-arrow)")
unsetopt extendedglob unsetopt extendedglob
function svpn() {
unit=$(systemctl list-unit-files | grep "openconnect\|wg-quick\|wireguard\|openvpn\|openfortivpn" | cut -d "." -f1 | ${pkgs.fzf}/bin/fzf --preview 'systemctl status {}')
if [ $(systemctl is-active $unit) = "inactive" ]; then
systemctl start $unit
else
systemctl stop $unit
fi
}
prompt_dir() { prompt_dir() {
prompt_segment blue $CURRENT_FG '%c' prompt_segment blue $CURRENT_FG '%c'
} }

View file

@ -29,7 +29,6 @@
# internet # internet
google-chrome google-chrome
liferea liferea
openvpn
thunderbird thunderbird
# messaging # messaging