set up ssh signing
This commit is contained in:
parent
6a5bf3373a
commit
5220f24edf
19 changed files with 389 additions and 323 deletions
|
@ -1 +1 @@
|
|||
_: {imports = [./pipewire.nix ./ssh.nix ./greetd.nix ./dunst.nix ./mpd.nix ./firewall.nix];}
|
||||
_: {imports = [./pipewire.nix ./ssh.nix ./greetd.nix ./dunst.nix ./mpd.nix ./firewall.nix ./vpn.nix];}
|
||||
|
|
|
@ -28,24 +28,23 @@ in {
|
|||
enable = true;
|
||||
inherit (cfg) musicDirectory;
|
||||
user = username;
|
||||
startWhenNeeded = true;
|
||||
extraConfig = ''
|
||||
user "${username}"
|
||||
playlist_directory "${cfg.musicDirectory}/.playlists"
|
||||
restore_paused "yes"
|
||||
auto_update "yes"
|
||||
playlist_directory "${cfg.musicDirectory}/.playlists"
|
||||
|
||||
volume_normalization "yes"
|
||||
audio_output {
|
||||
type "pipewire"
|
||||
name "PipeWire Sound Server"
|
||||
}
|
||||
|
||||
audio_output {
|
||||
type "pipewire"
|
||||
name "PipeWire Sound Server"
|
||||
}
|
||||
|
||||
audio_output {
|
||||
type "fifo"
|
||||
name "FIFO"
|
||||
path "/tmp/mpd.fifo"
|
||||
format "44100:16:2"
|
||||
}
|
||||
audio_output {
|
||||
type "fifo"
|
||||
name "FIFO"
|
||||
path "/tmp/mpd.fifo"
|
||||
format "44100:16:2"
|
||||
}
|
||||
'';
|
||||
};
|
||||
home-manager.users.${username} = {
|
||||
|
|
12
modules/services/vpn.nix
Normal file
12
modules/services/vpn.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{pkgs, ...}: {
|
||||
services.openvpn.servers = {
|
||||
# air = {
|
||||
# config = ''
|
||||
# config /home/vali/Documents/AirVPN_Netherlands_UDP-443-Entry3.ovpn
|
||||
# script-security 2
|
||||
# up ${pkgs.update-systemd-resolved}/libexec/openvpn/update-systemd-resolved
|
||||
# down ${pkgs.update-systemd-resolved}/libexec/openvpn/update-systemd-resolved
|
||||
# '';
|
||||
# };
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue