diff --git a/users/gandalf/modules/default.nix b/users/gandalf/modules/default.nix index 609d433..bbd5858 100644 --- a/users/gandalf/modules/default.nix +++ b/users/gandalf/modules/default.nix @@ -6,6 +6,8 @@ ./gnupg.nix ./keyring.nix ./neovim.nix + ./obs.nix + ./packages.nix ./playerctl.nix ./spotify-player ./ssh.nix diff --git a/users/gandalf/modules/obs.nix b/users/gandalf/modules/obs.nix new file mode 100644 index 0000000..bf2bc7c --- /dev/null +++ b/users/gandalf/modules/obs.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: { + + programs.obs-studio = { + enable = true; + plugins = [ pkgs.obs-studio-plugins.wlrobs ]; + }; + +} diff --git a/users/gandalf/modules/packages.nix b/users/gandalf/modules/packages.nix new file mode 100644 index 0000000..9c833e3 --- /dev/null +++ b/users/gandalf/modules/packages.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: { + + home.packages = with pkgs; [ + vlc + ]; + +} diff --git a/users/gandalf/modules/sway.nix b/users/gandalf/modules/sway.nix index 22652d9..55b0b54 100644 --- a/users/gandalf/modules/sway.nix +++ b/users/gandalf/modules/sway.nix @@ -1,7 +1,12 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: let cfg = config.wayland.windowManager.sway.config; common = import ./common.nix; + wallpaper = pkgs.fetchurl { + url = "https://live.staticflickr.com/65535/52797919139_2444712a38_o_d.png"; + sha256 = "1a9148d8911fa25afa82d3b843ee620173955a7ca705d525f3e9d00e00696308"; + meta.licenses = lib.licenses.cc0; + }; in { home.packages = with pkgs; [ @@ -69,6 +74,9 @@ in scroll_factor = "0.5"; }; }; + output = { + "*".bg = "${wallpaper} fill"; + }; left = "h"; down = "j"; up = "k";