mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-06-07 18:18:45 +02:00
Compare commits
5 commits
637339cdb9
...
d8947bfd36
Author | SHA1 | Date | |
---|---|---|---|
d8947bfd36 | |||
fc81d5ccec | |||
cce11f1c9c | |||
f8041dc5b3 | |||
9f2edc86f4 |
8 changed files with 11 additions and 26 deletions
|
@ -66,7 +66,6 @@
|
||||||
, purge
|
, purge
|
||||||
, trucksimulatorbot
|
, trucksimulatorbot
|
||||||
, pfersel
|
, pfersel
|
||||||
, caddy-patched
|
|
||||||
, ...
|
, ...
|
||||||
}@attrs: {
|
}@attrs: {
|
||||||
packages.x86_64-linux = {
|
packages.x86_64-linux = {
|
||||||
|
|
|
@ -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}";
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, lib, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# fixes run0 failing to execute
|
# fixes run0 failing to execute
|
||||||
|
|
|
@ -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'
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
# internet
|
# internet
|
||||||
google-chrome
|
google-chrome
|
||||||
liferea
|
liferea
|
||||||
openvpn
|
|
||||||
thunderbird
|
thunderbird
|
||||||
|
|
||||||
# messaging
|
# messaging
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue