mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-04-24 11:19:03 +02:00
variables: Add defaultBrowser
This commit is contained in:
parent
9e5db2273b
commit
1ab27e7fe7
@ -1,4 +1,6 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, ...}: let
|
||||||
|
VARIABLES = import ../../src/variables.nix;
|
||||||
|
in {
|
||||||
environment.systemPackages = with pkgs; [tig git];
|
environment.systemPackages = with pkgs; [tig git];
|
||||||
|
|
||||||
home-manager.sharedModules = [
|
home-manager.sharedModules = [
|
||||||
@ -22,7 +24,7 @@
|
|||||||
quotePath = false;
|
quotePath = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
web.browser = "librewolf";
|
web.browser = VARIABLES.defaultBrowser;
|
||||||
push.default = "simple";
|
push.default = "simple";
|
||||||
branch.autosetuprebase = "always";
|
branch.autosetuprebase = "always";
|
||||||
init.defaultBranch = "master";
|
init.defaultBranch = "master";
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, ...}: let
|
||||||
|
VARIABLES = import ../../src/variables.nix;
|
||||||
|
in {
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
services.udisks2 = {
|
services.udisks2 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -19,7 +21,7 @@
|
|||||||
{
|
{
|
||||||
xdg.configFile."hypr/hyprland.conf".text = ''
|
xdg.configFile."hypr/hyprland.conf".text = ''
|
||||||
env=XCURSOR_SIZE,24
|
env=XCURSOR_SIZE,24
|
||||||
env=BROWSER,librewolf
|
env=BROWSER,${VARIABLES.defaultBrowser}
|
||||||
env=GTK_IM_MODULE,fcitx
|
env=GTK_IM_MODULE,fcitx
|
||||||
env=QT_IM_MODULE,fcitx
|
env=QT_IM_MODULE,fcitx
|
||||||
env=XMODIFIERS,@im=fcitx
|
env=XMODIFIERS,@im=fcitx
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
{
|
let
|
||||||
|
VARIABLES = import ../../src/variables.nix;
|
||||||
|
in {
|
||||||
home-manager.sharedModules = [
|
home-manager.sharedModules = [
|
||||||
{
|
{
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
@ -9,7 +11,7 @@
|
|||||||
close_on_child_death = true;
|
close_on_child_death = true;
|
||||||
cursor_blink_interval = 0;
|
cursor_blink_interval = 0;
|
||||||
|
|
||||||
open_url_with = "librewolf";
|
open_url_with = VARIABLES.defaultBrowser;
|
||||||
wayland_titlebar_color = "background";
|
wayland_titlebar_color = "background";
|
||||||
|
|
||||||
allow_remote_control = true;
|
allow_remote_control = true;
|
||||||
|
@ -7,4 +7,5 @@
|
|||||||
defaultLocale = "ja_JP.UTF-8";
|
defaultLocale = "ja_JP.UTF-8";
|
||||||
supportedLocales = ["ja_JP.UTF-8/UTF-8" "en_US.UTF-8/UTF-8" "fr_FR.UTF-8/UTF-8"];
|
supportedLocales = ["ja_JP.UTF-8/UTF-8" "en_US.UTF-8/UTF-8" "fr_FR.UTF-8/UTF-8"];
|
||||||
username = "user";
|
username = "user";
|
||||||
|
defaultBrowser = "librewolf";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user