diff --git a/hosts/murex-pecten/default.nix b/hosts/murex-pecten/default.nix index 7000572..61e81d6 100644 --- a/hosts/murex-pecten/default.nix +++ b/hosts/murex-pecten/default.nix @@ -49,7 +49,7 @@ name = "libpipewire-module-snapcast-discover"; args = { stream.rules = lib.singleton { - matches = lib.singleton { "snapcast.hostname" = "snapserver"; }; + matches = lib.singleton {"snapcast.hostname" = "snapserver";}; }; }; }; diff --git a/modules/power-management.nix b/modules/power-management.nix index ce1250e..c3e8573 100644 --- a/modules/power-management.nix +++ b/modules/power-management.nix @@ -15,13 +15,13 @@ in { isNormalUser = true; openssh.authorizedKeys.keyFiles = [../secrets/pub/yubikey.pub ../secrets/pub/power-management-key.pub]; group = "power-target"; - packages = [ pkgs.pmutils ]; + packages = [pkgs.pmutils]; }; users.groups.power-target = {}; security.sudo.extraRules = lib.mkAfter [ { - users = [ config.users.users.power-target.name ]; + users = [config.users.users.power-target.name]; commands = lib.singleton { command = "/etc/profiles/per-user/${config.users.users.power-target.name}/bin/pm-suspend"; options = lib.singleton "NOPASSWD"; diff --git a/modules/state.nix b/modules/state.nix index c5197fc..8d2e116 100644 --- a/modules/state.nix +++ b/modules/state.nix @@ -99,9 +99,15 @@ in { else builtins.throw "No VPN entry for DNS host" ) else builtins.throw "No DNS service defined!"; - vpn.cnames = (if state ? cnames then state.cnames else {}) // ( - builtins.mapAttrs (_name: value: value.host) config.state.services - ); + vpn.cnames = + ( + if state ? cnames + then state.cnames + else {} + ) + // ( + builtins.mapAttrs (_name: value: value.host) config.state.services + ); services = if state ? services then state.services diff --git a/pkgs/api.nix b/pkgs/api.nix index 6de16b7..6417393 100644 --- a/pkgs/api.nix +++ b/pkgs/api.nix @@ -12,4 +12,3 @@ writeShellApplication { nushell ]; } -