changes to home-assistant and nb

This commit is contained in:
2024-11-10 03:22:29 +01:00
parent 5941526a5e
commit 21d2e34025
20 changed files with 888 additions and 74 deletions

View File

@@ -14,7 +14,7 @@ let
"calendar.ui.version" = 3;
"calendar.timezone.local" = "Europe/Vienna";
"calendar.week.start" = 1;
# "layout.css.devPixelsPerPx" = "1";
"layout.css.devPixelsPerPx" = "0.75";
};
thunderbirdCalendarPersonal = {
@@ -70,7 +70,7 @@ let
"signon.rememberSignons" = false;
"identity.sync.tokenserver.uri" = "https://sync.cloonar.com:5000/token/1.0/sync/1.5";
# "toolkit.legacyUserProfileCustomizations.stylesheets" = true;
"layout.css.devPixelsPerPx" = "1";
"layout.css.devPixelsPerPx" = "0.75";
"media.ffmpeg.vaapi.enabled" = true;
"media.ffmpeg.vaapi-drm-display.enabled" = true;
"gfx.webrender.all" = true;
@@ -149,6 +149,19 @@ in
/* The home.stateVersion option does not have a default and must be set */
home.stateVersion = "24.05";
home.enableNixpkgsReleaseCheck = false;
home.sessionVariables = {
MOZ_ENABLE_WAYLAND = "1";
};
programs.bash = {
enable = true;
initExtra = ''
# include .profile if it exists
[[ -f ~/.profile ]] && . ~/.profile
'';
};
/* Here goes the rest of your home-manager config, e.g. home.packages = [ pkgs.foo ]; */
# home.persistence."/nix/persist/user/dominik" = {
# allowOther = true;
@@ -217,7 +230,10 @@ in
"--enable-features=WebUIDarkMode"
"--force-dark-mode"
# "--high-dpi-support=1"
"--force-device-scale-factor=1"
# "--force-device-scale-factor=1.15"
"--enable-features=UseOzonePlatform"
"--ozone-platform=wayland"
# "--use-gl=egl"
];
dictionaries = [
pkgs.hunspellDictsChromium.en_US
@@ -450,6 +466,12 @@ in
programs.firefox = {
enable = true;
package = pkgs.firefox.overrideAttrs (a: {
postInstall = a.postInstall or "" + ''
wrapProgram "$out/bin/firefox" \
export MOZ_ENABLE_WAYLAND=1
'';
});
profiles = {
default = {
id = 0;