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