From 81c851cffe27fbf2b96fcc906a46ebeeb1a5b4b4 Mon Sep 17 00:00:00 2001 From: Alex van de Sandt Date: Wed, 24 Jun 2026 16:41:20 -0500 Subject: [PATCH] Add unfree apps --- modules/hyprland/_settings.nix | 12 ++++++------ modules/igneous.nix | 4 ++++ modules/unfree/discord.nix | 11 +++++++++++ modules/unfree/obsidian.nix | 11 +++++++++++ modules/unfree/spotify.nix | 11 +++++++++++ modules/unfree/steam.nix | 16 ++++++++++++++++ 6 files changed, 59 insertions(+), 6 deletions(-) create mode 100644 modules/unfree/discord.nix create mode 100644 modules/unfree/obsidian.nix create mode 100644 modules/unfree/spotify.nix create mode 100644 modules/unfree/steam.nix diff --git a/modules/hyprland/_settings.nix b/modules/hyprland/_settings.nix index 523e837..b4f33dc 100644 --- a/modules/hyprland/_settings.nix +++ b/modules/hyprland/_settings.nix @@ -181,12 +181,12 @@ "$mainMod SHIFT, 0, movetoworkspace, 10" # Switch to app-specific workspaces - # "$mainMod , D, workspace, discord" - # "$mainMod SHIFT, D, movetoworkspace, discord" - # "$mainMod , S, workspace, steam" - # "$mainMod SHIFT, S, movetoworkspace, steam" - # "$mainMod , P, workspace, spotify" - # "$mainMod SHIFT, P, movetoworkspace, spotify" + "$mainMod , D, workspace, discord" + "$mainMod SHIFT, D, movetoworkspace, discord" + "$mainMod , S, workspace, steam" + "$mainMod SHIFT, S, movetoworkspace, steam" + "$mainMod , P, workspace, spotify" + "$mainMod SHIFT, P, movetoworkspace, spotify" # Scroll through existing workspaces with mainMod + scroll "$mainMod, mouse_up, workspace, e+1" diff --git a/modules/igneous.nix b/modules/igneous.nix index 857f0e9..755c27e 100644 --- a/modules/igneous.nix +++ b/modules/igneous.nix @@ -10,13 +10,17 @@ _1password bat + discord git hyprland kitty nixvim + obsidian shell shell.bash shell.zsh + spotify + steam zen ]; diff --git a/modules/unfree/discord.nix b/modules/unfree/discord.nix new file mode 100644 index 0000000..753a9ed --- /dev/null +++ b/modules/unfree/discord.nix @@ -0,0 +1,11 @@ +{ den, ... }: { + den.aspects.discord = { + includes = [ + (den.batteries.unfree [ "discord" ]) + ]; + + homeManager = { + programs.discord.enable = true; + }; + }; +} diff --git a/modules/unfree/obsidian.nix b/modules/unfree/obsidian.nix new file mode 100644 index 0000000..bb926d6 --- /dev/null +++ b/modules/unfree/obsidian.nix @@ -0,0 +1,11 @@ +{ den, ... }: { + den.aspects.obsidian = { + includes = [ + (den.batteries.unfree [ "obsidian" ]) + ]; + + homeManager = { pkgs, ... }: { + home.packages = [ pkgs.obsidian ]; + }; + }; +} diff --git a/modules/unfree/spotify.nix b/modules/unfree/spotify.nix new file mode 100644 index 0000000..0d55895 --- /dev/null +++ b/modules/unfree/spotify.nix @@ -0,0 +1,11 @@ +{ den, ... }: { + den.aspects.spotify = { + includes = [ + (den.batteries.unfree [ "spotify" ]) + ]; + + homeManager = { pkgs, ... }: { + home.packages = [ pkgs.spotify ]; + }; + }; +} diff --git a/modules/unfree/steam.nix b/modules/unfree/steam.nix new file mode 100644 index 0000000..8f82117 --- /dev/null +++ b/modules/unfree/steam.nix @@ -0,0 +1,16 @@ +{ den, ... }: { + den.aspects.steam = { + includes = [ + (den.batteries.unfree [ + "steam" + "steam-original" + "steam-unwrapped" + "steam-run" + ]) + ]; + + nixos = { + programs.steam.enable = true; + }; + }; +} -- 2.51.2