working system
This commit is contained in:
parent
090e8e3a9d
commit
d38a412e8f
14 changed files with 76 additions and 18 deletions
|
@ -1 +1 @@
|
|||
_: {imports = [./pipewire.nix ./ssh.nix ./greetd.nix ./dunst.nix ./mpd.nix];}
|
||||
_: {imports = [./pipewire.nix ./ssh.nix ./greetd.nix ./dunst.nix ./mpd.nix ./firewall.nix];}
|
||||
|
|
3
modules/services/firewall.nix
Normal file
3
modules/services/firewall.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
_: {
|
||||
networking.nftables.enable = true;
|
||||
}
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
cfg = config.modules.services.mpd;
|
||||
|
@ -18,6 +19,7 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [mpc-cli];
|
||||
systemd.services.mpd.environment = {
|
||||
# https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/609
|
||||
XDG_RUNTIME_DIR = "/run/user/1000";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue