Fiddle around with xdg and default_browser

This commit is contained in:
fleaz 2022-02-21 23:43:31 +01:00
parent aa0593232b
commit 15ac79b980
2 changed files with 13 additions and 10 deletions

View file

@ -16,6 +16,15 @@ in
modules/sway.nix
];
gtk = {
enable = true;
theme.name = "Adwaita";
};
xdg = {
enable = true;
};
services.gnome-keyring.enable = true;
# e.g. for 1password
@ -89,6 +98,7 @@ in
EDITOR = "vim";
XDG_SCREENSHOTS_DIR = "/home/fleaz/screenshots/";
PATH = "$PATH:/home/fleaz/bin:/home/fleaz/workspace/go/bin";
DEFAULT_BROWSER = "${pkgs.firefox}/bin/firefox";
};
oh-my-zsh = {
enable = true;

View file

@ -38,6 +38,9 @@ in
# copy the secret into the additional initramfs. `null` means same path
boot.initrd.secrets."${secretsFile}" = null;
programs.dconf.enable = true;
networking.hostName = "jimbo"; # Define your hostname.
networking.extraHosts =
@ -65,16 +68,6 @@ in
driSupport = true;
};
xdg = {
portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
];
};
};
hardware.bluetooth.enable = true;
# Enable CUPS to print documents.