mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-06-20 19:58:47 +02:00
Add browser variable for easy switching
This commit is contained in:
parent
a6c82e0b01
commit
6ed3deedfd
@ -1,4 +1,4 @@
|
||||
{ pkgs, config, ... }:
|
||||
{ pkgs, config, browser, ... }:
|
||||
|
||||
{
|
||||
home.file.".config/hypr/hyprland.conf".text = ''
|
||||
@ -83,8 +83,8 @@ bind = , XF86MonBrightnessUp, exec, brightnessctl set +5%
|
||||
bind = $mainMod, Return, exec, kitty
|
||||
bind = $mainMod SHIFT, Return, exec, rofi -show drun
|
||||
bind = $mainMod SHIFT, W, exec, kitty -e amfora
|
||||
bind = $mainMod SHIFT, S, exec, wallsetter
|
||||
bind = $mainMod, W, exec, firefox
|
||||
bind = $mainMod SHIFT, S, exec, web-search
|
||||
bind = $mainMod, W, exec, ${browser}
|
||||
bind = $mainMod, E, exec, emopicker9000
|
||||
bind = $mainMod, S, exec, grim -g "$(slurp)"
|
||||
bind = $mainMod, D, exec, discord
|
||||
|
@ -21,6 +21,7 @@
|
||||
theLocale = "en_US.UTF-8";
|
||||
theTimezone = "America/Chicago";
|
||||
theme = "gigavolt";
|
||||
browser= pkgs.firefox;
|
||||
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
@ -39,6 +40,7 @@
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.extraSpecialArgs = { inherit username;
|
||||
inherit gitUsername; inherit gitEmail; inherit theme;
|
||||
inherit browser;
|
||||
inherit (inputs.nix-colors.lib-contrib {inherit pkgs;}) gtkThemeFromScheme;
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
@ -56,6 +58,7 @@
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.extraSpecialArgs = { inherit username;
|
||||
inherit gitUsername; inherit gitEmail; inherit inputs; inherit theme;
|
||||
inherit browser;
|
||||
inherit (inputs.nix-colors.lib-contrib {inherit pkgs;}) gtkThemeFromScheme;
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
4
home.nix
4
home.nix
@ -1,6 +1,6 @@
|
||||
{ config, pkgs, inputs, username,
|
||||
gitUsername, gitEmail, gtkThemeFromScheme,
|
||||
theme, ... }:
|
||||
theme, browser, ... }:
|
||||
|
||||
{
|
||||
# Home Manager Settings
|
||||
@ -54,7 +54,7 @@
|
||||
|
||||
# Install Packages For The User
|
||||
home.packages = with pkgs; [
|
||||
neofetch lolcat cmatrix discord firefox htop btop libvirt
|
||||
"${browser}" neofetch lolcat cmatrix discord htop btop libvirt
|
||||
swww polkit_gnome grim slurp lm_sensors unzip unrar gnome.file-roller
|
||||
libnotify swaynotificationcenter rofi-wayland imv v4l-utils
|
||||
ydotool wl-clipboard socat cowsay lsd pkg-config transmission-gtk mpv
|
||||
|
Loading…
x
Reference in New Issue
Block a user