zen browser added
This commit is contained in:
parent
80adc2c887
commit
a75f6756ee
@ -12,11 +12,11 @@
|
|||||||
|
|
||||||
shell = "zsh"; # bash, zsh
|
shell = "zsh"; # bash, zsh
|
||||||
terminal = "kitty"; # kitty, alacritty, gnome-terminal
|
terminal = "kitty"; # kitty, alacritty, gnome-terminal
|
||||||
browser = "qutebrowser"; # firefox, librewolf, qutebrowser
|
browser = "zen"; # firefox, librewolf, qutebrowser, zen
|
||||||
editor = "neovim"; # neovim, vscode
|
editor = "neovim"; # neovim, vscode
|
||||||
|
|
||||||
# List all themes: $ nix build nixpkgs#base16-schemes && ls result/share/themes
|
# List all themes: $ nix build nixpkgs#base16-schemes && ls result/share/themes
|
||||||
theme = "catppuccin-mocha"; # catppuccin-mocha, tokyo-night-dark, one-dark
|
theme = "evangelion-blood"; # catppuccin-mocha, tokyo-night-dark, one-dark
|
||||||
background =
|
background =
|
||||||
if userSettings.theme == "catppuccin-mocha"
|
if userSettings.theme == "catppuccin-mocha"
|
||||||
then "aurora_borealis.png"
|
then "aurora_borealis.png"
|
||||||
@ -115,7 +115,7 @@
|
|||||||
|
|
||||||
stylix = {
|
stylix = {
|
||||||
url = "github:danth/stylix";
|
url = "github:danth/stylix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs-stable";
|
||||||
};
|
};
|
||||||
|
|
||||||
plasma-manager = {
|
plasma-manager = {
|
||||||
@ -151,7 +151,7 @@
|
|||||||
|
|
||||||
nixcord = {
|
nixcord = {
|
||||||
url = "github:kaylorben/nixcord";
|
url = "github:kaylorben/nixcord";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs-stable";
|
||||||
};
|
};
|
||||||
|
|
||||||
zen-browser = {
|
zen-browser = {
|
||||||
|
|||||||
@ -163,6 +163,8 @@
|
|||||||
then "${pkgs.librewolf-wayland}/bin/librewolf"
|
then "${pkgs.librewolf-wayland}/bin/librewolf"
|
||||||
else if userSettings.browser == "qutebrowser"
|
else if userSettings.browser == "qutebrowser"
|
||||||
then "${pkgs.qutebrowser}/bin/qutebrowser"
|
then "${pkgs.qutebrowser}/bin/qutebrowser"
|
||||||
|
else if userSettings.browser == "zen"
|
||||||
|
then "zen"
|
||||||
else "${pkgs.firefox-wayland}/bin/firefox";
|
else "${pkgs.firefox-wayland}/bin/firefox";
|
||||||
|
|
||||||
animations = {
|
animations = {
|
||||||
|
|||||||
@ -16,7 +16,10 @@
|
|||||||
|
|
||||||
config = lib.mkIf config.sys.default-applications.enable {
|
config = lib.mkIf config.sys.default-applications.enable {
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
DEFAULT_BROWSER = "${pkgs."${userSettings.browser}"}/bin/${userSettings.browser}";
|
DEFAULT_BROWSER =
|
||||||
|
if userSettings.browser != "zen"
|
||||||
|
then "${pkgs."${userSettings.browser}"}/bin/${userSettings.browser}"
|
||||||
|
else "zen";
|
||||||
TERMINAL = "${pkgs."${userSettings.terminal}"}/bin/${userSettings.terminal}";
|
TERMINAL = "${pkgs."${userSettings.terminal}"}/bin/${userSettings.terminal}";
|
||||||
EDITOR = "${pkgs."${userSettings.editor}"}/bin/${userSettings.editor}";
|
EDITOR = "${pkgs."${userSettings.editor}"}/bin/${userSettings.editor}";
|
||||||
FLAKE = "/home/${userSettings.username}/.dotfiles";
|
FLAKE = "/home/${userSettings.username}/.dotfiles";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user