diff --git a/home/david/configurations/Akun/default.nix b/home/david/configurations/Akun/default.nix index c603d77..172e409 100644 --- a/home/david/configurations/Akun/default.nix +++ b/home/david/configurations/Akun/default.nix @@ -24,8 +24,6 @@ sops.enable = true; mpv.enable = true; atuin.enable = true; - obs.enable = true; - chromium.enable = true; }; david = { @@ -38,6 +36,13 @@ home.homeDirectory = "/home/${unixName}"; home.stateVersion = "24.11"; programs.home-manager.enable = true; + programs.obs-studio = { + enable = true; + plugins = with pkgs.obs-studio-plugins; [ + obs-source-record + input-overlay + ]; + }; home.packages = with pkgs; [ tealdeer @@ -69,4 +74,13 @@ viu just ]; + + programs.chromium = { + enable = true; + commandLineArgs = [ + "--ozone-platform=wayland" + "--enable-wayland-ime=true" + "--enable-features=UseOzonePlatform" + ]; + }; } diff --git a/home/david/configurations/Tytonidae/default.nix b/home/david/configurations/Tytonidae/default.nix index 89868e0..6d16207 100644 --- a/home/david/configurations/Tytonidae/default.nix +++ b/home/david/configurations/Tytonidae/default.nix @@ -33,8 +33,6 @@ kvm.enable = true; atuin.enable = true; thunderbird.enable = true; - obs.enable = true; - chromium.enable = true; }; david = { @@ -47,6 +45,13 @@ home.homeDirectory = "/home/${unixName}"; home.stateVersion = "24.11"; programs.home-manager.enable = true; + programs.obs-studio = { + enable = true; + plugins = with pkgs.obs-studio-plugins; [ + obs-source-record + input-overlay + ]; + }; home.packages = with pkgs; [ tealdeer ripgrep @@ -77,4 +82,13 @@ viu just ]; + + programs.chromium = { + enable = true; + commandLineArgs = [ + "--ozone-platform=wayland" + "--enable-wayland-ime=true" + "--enable-features=UseOzonePlatform" + ]; + }; } diff --git a/home/modules/chromium.nix b/home/modules/chromium.nix deleted file mode 100644 index 1c22bbf..0000000 --- a/home/modules/chromium.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ lib, config, ... }: -let - cfg = config.youthlic.programs.chromium; -in -{ - options = { - youthlic.programs.chromium = { - enable = lib.mkEnableOption "chromium"; - }; - }; - config = lib.mkIf cfg.enable { - programs.chromium = { - enable = true; - commandLineArgs = [ - "--ozone-platform=wayland" - "--enable-wayland-ime=true" - "--enable-features=UseOzonePlatform" - ]; - }; - }; -} diff --git a/home/modules/default.nix b/home/modules/default.nix index 4873c37..dc75c79 100644 --- a/home/modules/default.nix +++ b/home/modules/default.nix @@ -11,7 +11,6 @@ ++ [ ./nix.nix ./helix - ./chromium.nix ./gpg ./git.nix ./shell @@ -30,7 +29,6 @@ ./swaync.nix ./swaylock.nix ./thunderbird.nix - ./obs.nix ]; options = { diff --git a/home/modules/obs.nix b/home/modules/obs.nix deleted file mode 100644 index 737ee52..0000000 --- a/home/modules/obs.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ - pkgs, - config, - lib, - ... -}: -let - cfg = config.youthlic.programs.obs; -in -{ - options = { - youthlic.programs.obs = { - enable = lib.mkEnableOption "obs"; - }; - }; - config = lib.mkIf cfg.enable { - programs.obs-studio = { - enable = true; - plugins = with pkgs.obs-studio-plugins; [ - obs-source-record - input-overlay - ]; - }; - }; -}