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
|
||||
, trucksimulatorbot
|
||||
, pfersel
|
||||
, caddy-patched
|
||||
, ...
|
||||
}@attrs: {
|
||||
packages.x86_64-linux = {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, caddy-patched, ... }:
|
||||
{ config, ... }:
|
||||
let
|
||||
# matrix homeserver discovery
|
||||
matrix_domain = "matrix.${config.networking.domain}";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ config, ... }:
|
||||
let
|
||||
homeserverDomain = config.services.matrix-synapse.settings.server_name;
|
||||
in
|
||||
|
|
|
@ -26,6 +26,9 @@
|
|||
curlFull
|
||||
wireguard-tools
|
||||
etherape
|
||||
openconnect
|
||||
openvpn
|
||||
openfortivpn
|
||||
];
|
||||
services.timesyncd.servers = lib.mkForce [ ];
|
||||
services.resolved = {
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
virtualisation = {
|
||||
podman = {
|
||||
enable = true;
|
||||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
# docker = {
|
||||
# podman = {
|
||||
# enable = true;
|
||||
# defaultNetwork.settings.dns_enabled = true;
|
||||
# };
|
||||
docker = {
|
||||
enable = true;
|
||||
};
|
||||
libvirtd = {
|
||||
enable = true;
|
||||
qemu = {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
# fixes run0 failing to execute
|
||||
|
|
|
@ -62,12 +62,6 @@ in
|
|||
|
||||
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
|
||||
# fix for networkctl
|
||||
zstyle ':completion:*:complete:networkctl:*' list-grouped true
|
||||
|
@ -77,16 +71,6 @@ in
|
|||
zvm_after_init_commands+=(eval "$(atuin init zsh --disable-up-arrow)")
|
||||
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_segment blue $CURRENT_FG '%c'
|
||||
}
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
# internet
|
||||
google-chrome
|
||||
liferea
|
||||
openvpn
|
||||
thunderbird
|
||||
|
||||
# messaging
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue