diff --git a/modules/users/nathan/home-manager/features/packages.nix b/modules/users/nathan/home-manager/features/packages.nix index dcd9c7e..423aa96 100644 --- a/modules/users/nathan/home-manager/features/packages.nix +++ b/modules/users/nathan/home-manager/features/packages.nix @@ -2,6 +2,11 @@ flake.homeModules.nathan = { config, lib, pkgs, ... }: { + options.olympus.packageSet = lib.mkOption { + type = lib.types.str; + default = "full"; + }; + config = with lib; mkMerge [ { @@ -56,13 +61,24 @@ wl-clipboard xfce.thunar blueberry + brightnessctl + libdbusmenu-gtk3 + ]; + }) + + (mkIf (config.olympus.packageSet == "full") { + + nixpkgs.config = { + allowUnfree = true; + }; + + + home.packages = with pkgs; [ handbrake quickemu bottles - brightnessctl - libdbusmenu-gtk3 lmms #unfree { diff --git a/modules/users/nathan/nathan.nix b/modules/users/nathan/nathan.nix index 15a93d7..7ac93e1 100644 --- a/modules/users/nathan/nathan.nix +++ b/modules/users/nathan/nathan.nix @@ -56,6 +56,17 @@ bind = ALT, Escape, exec, if [[ $(hyprctl monitors | grep 0x0 | sed -n -e "s/\t*1920x1080@//" -e "s/.[1234567890]* at 0x0//p") == 300 ]]; then hyprctl keyword monitor eDP-1,1920x1080@60,0x0,1; else hyprctl keyword monitor eDP-1,1920x1080@300,0x0,1; fi ''; }) + + (useWith iso { + + olympus = { + packageSet = "minimal"; + }; + + wayland.windowManager.hyprland.extraConfig = '' + monitor=,preferred,auto,1 + ''; + }) ]; }; };