From f98b3fd945f90040649dde8491e1ee1f944acf34 Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Mon, 7 Jul 2025 00:40:45 +1000 Subject: [PATCH] Removed old comments from home declaration --- homes/me/default.nix | 116 +----------------------------------------- homes/modules/obs.nix | 16 ++++++ 2 files changed, 17 insertions(+), 115 deletions(-) create mode 100755 homes/modules/obs.nix diff --git a/homes/me/default.nix b/homes/me/default.nix index fb19f72..5eb2d90 100755 --- a/homes/me/default.nix +++ b/homes/me/default.nix @@ -6,6 +6,7 @@ pkgs, ... }: { + # TODO: unset this nixpkgs = { config.allowUnfree = true; }; @@ -29,29 +30,11 @@ ../modules/ags ]; - /* - programs.spicetify = - let - spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system}; - in - { - enable = true; - enabledExtensions = with spicePkgs.extensions; [ - adblock - hidePodcasts - shuffle # shuffle+ (special characters are sanitized out of extension names) - ]; - theme = spicePkgs.themes.catppuccin; - colorScheme = "mocha"; - }; - */ - home = { username = "me"; homeDirectory = "/home/me"; shellAliases = { - rip = "rg"; # ripgrep brip = "batgrep"; # bat + ripgrep man = "batman"; # bat + man }; @@ -79,15 +62,12 @@ # TODO: use a variable to mirror this cursor size # with the `home.pointerCurser.size` cursorTheme = { - # dont set the theme (use system default instead) - # only set size to match the system package = pkgs.bibata-cursors; name = "Bibata-Modern-Ice"; size = 16; }; }; - # TODO: this lowkey doesnt work... (maybe the name "Dracula" is wrong?) qt = { enable = true; platformTheme.name = "gtk2"; @@ -98,16 +78,6 @@ # these are both required for home-manager to work home-manager.enable = true; - # DEBUG: testing if my xdg-desktop-portal-hyprland is working or not - obs-studio = { - enable = false; - plugins = with pkgs.obs-studio-plugins; [ - wlrobs - obs-backgroundremoval - obs-pipewire-audio-capture - ]; - }; - # set ssh profiles # (all we need is hyrule, everything else is through wishlist) # NOTE: (IMPORTANT) this DOES NOT start the ssh-agent @@ -153,93 +123,9 @@ }; }; }; - - /* - hyprpanel = { - enable = true; - # automatically restart when config changes - systemd.enable = true; # TODO: change to false - # add `exec-once hyprpanel` to hyprland config - hyprland.enable = true; - - # fix the overwrite issue with hyprpanel on NixOS - overwrite.enable = true; - - # import a theme from './themes/*.json' - # theme = ""; - - # override the final config - #override = {}; - - # config the bar layouts for monitors - layout = { - "bar.layouts" = { - "0" = { - left = ["dashboard" "workspaces"]; - middle = ["media"]; - right = ["volume" "systray" "notifications"]; - }; - }; - }; - - # settings = { - # bar.launcher.autoDetectIcon = true; - # bar.workspaces.show_icons = true; - # - # menus.clock = { - # time = { - # military = true; - # hideSeconds = true; - # }; - # weather.unit = "metric"; - # }; - # - # menus.dashboard.directories.enabled = false; - # menus.dashboard.stats.enable_gpu = true; - # - # theme.bar.transparent = true; - # - # theme.font = { - # name = "CaskaydiaCove NF"; - # size = "16px"; - # }; - # }; - }; - */ - - # I want to use fish as my login shell but it always - # goes terrible cause it isn't POSIX compliant, so - # instead Bash is my login and it will just exec fish - #bash = { - # interactiveShellInit = '' - # if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]] - # then - # shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION="" - # exec ${pkgs.fish}/bin/fish $LOGIN_OPTION - # fi - # ''; - #}; - - /* - spicetify = - let - spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system}; - in - { - enable = true; - enabledExtensions = with spicePkgs.extensions; [ - adblock - hidePodcasts - #shuffle - ]; - theme = spicePkgs.themes.catppuccin; - colorScheme = "mocha"; - }; - */ }; # enable OpenSSH private key agent - services.ssh-agent.enable = true; # the ssh-agent won't set this for itself... systemd.user.sessionVariables.SSH_AUTH_SOCK = "$XDG_RUNTIME_DIR/ssh-agent"; diff --git a/homes/modules/obs.nix b/homes/modules/obs.nix new file mode 100755 index 0000000..37db38f --- /dev/null +++ b/homes/modules/obs.nix @@ -0,0 +1,16 @@ +{ + config, + pkgs, + ... +}: { + programs = { + obs-studio = { + enable = true; + plugins = with pkgs.obs-studio-plugins; [ + wlrobs + obs-backgroundremoval + obs-pipewire-audio-capture + ]; + }; + }; +}