summaryrefslogtreecommitdiffstats
path: root/usecases/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'usecases/desktop')
-rw-r--r--usecases/desktop/graphical/mpv.nix3
-rw-r--r--usecases/desktop/graphical/sway.nix6
-rw-r--r--usecases/desktop/pipewire.nix7
3 files changed, 2 insertions, 14 deletions
diff --git a/usecases/desktop/graphical/mpv.nix b/usecases/desktop/graphical/mpv.nix
index 381b893..219c86c 100644
--- a/usecases/desktop/graphical/mpv.nix
+++ b/usecases/desktop/graphical/mpv.nix
@@ -9,8 +9,7 @@ inputs:
9 hwdec = "auto"; 9 hwdec = "auto";
10 profile = "gpu-hq"; 10 profile = "gpu-hq";
11 }; 11 };
12 # TODO: for 21.05 12 defaultProfiles = [ "gpu-hq" ];
13 #defaultProfiles = [ "gpu-hq" ];
14 scripts = with pkgs.mpvScripts; [ mpris sponsorblock ]; 13 scripts = with pkgs.mpvScripts; [ mpris sponsorblock ];
15 }; 14 };
16} 15}
diff --git a/usecases/desktop/graphical/sway.nix b/usecases/desktop/graphical/sway.nix
index ab04de3..ab5d997 100644
--- a/usecases/desktop/graphical/sway.nix
+++ b/usecases/desktop/graphical/sway.nix
@@ -171,8 +171,6 @@ in
171 }; 171 };
172 }; 172 };
173 173
174 # TODO: 21.05
175 /*
176 services.wlsunset = { 174 services.wlsunset = {
177 enable = true; 175 enable = true;
178 latitude = "48.864716"; 176 latitude = "48.864716";
@@ -184,7 +182,6 @@ in
184 }; 182 };
185 systemdTarget = "sway-session.target"; 183 systemdTarget = "sway-session.target";
186 }; 184 };
187 */
188 185
189 # TODO: upstream a PR to beautify this 186 # TODO: upstream a PR to beautify this
190 xdg.configFile."swaylock/config".text = with globalConfig.theme.colors; '' 187 xdg.configFile."swaylock/config".text = with globalConfig.theme.colors; ''
@@ -254,8 +251,7 @@ in
254 251
255 environment.systemPackages = with pkgs; [ qt5.qtwayland ]; 252 environment.systemPackages = with pkgs; [ qt5.qtwayland ];
256 253
257 # TODO: in 21.05 254 programs.xwayland.enable = true;
258 #programs.xwayland.enable = true;
259 security.pam.services.swaylock = { }; 255 security.pam.services.swaylock = { };
260 256
261 xdg.portal.extraPortals = with pkgs; [ 257 xdg.portal.extraPortals = with pkgs; [
diff --git a/usecases/desktop/pipewire.nix b/usecases/desktop/pipewire.nix
index e742ba9..cd327ee 100644
--- a/usecases/desktop/pipewire.nix
+++ b/usecases/desktop/pipewire.nix
@@ -3,13 +3,6 @@ inputs:
3{ pkgs, ... }: 3{ pkgs, ... }:
4 4
5{ 5{
6 imports = [
7 (inputs.nixpkgs-unstable.outPath + "/nixos/modules/services/desktops/pipewire/pipewire.nix")
8 (inputs.nixpkgs-unstable.outPath + "/nixos/modules/services/desktops/pipewire/pipewire-media-session.nix")
9 ];
10
11 disabledModules = [ "services/desktops/pipewire.nix" ];
12
13 services.pipewire = { 6 services.pipewire = {
14 enable = true; 7 enable = true;
15 package = pkgs.unstable.pipewire; 8 package = pkgs.unstable.pipewire;