changes to home-assistant and nb
This commit is contained in:
@@ -43,8 +43,25 @@ in {
|
||||
open-sans
|
||||
nix-prefetch
|
||||
jq
|
||||
oh-my-zsh
|
||||
zsh-autosuggestions
|
||||
zsh-completions
|
||||
zsh-syntax-highlighting
|
||||
zsh-history-substring-search
|
||||
];
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
ohMyZsh = {
|
||||
enable = true; # Enable Oh My Zsh
|
||||
theme = "steeef"; # Set theme
|
||||
plugins = [ "git" "zsh-autosuggestions" ]; # Add plugins
|
||||
};
|
||||
};
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
|
||||
services.fwupd.enable = true;
|
||||
|
||||
swapDevices = [ {
|
||||
device = "/nix/persist/swapfile";
|
||||
size = 32 * 1024; # Size is in megabytes
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
# title=foot
|
||||
# locked-title=no
|
||||
|
||||
# font=monospace:size=12
|
||||
font=monospace:size=14
|
||||
# font-bold=<bold variant of regular font>
|
||||
# font-italic=<italic variant of regular font>
|
||||
# font-bold-italic=<bold+italic variant of regular font>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
# i3 config file (v4)
|
||||
|
||||
# font for window titles and bar
|
||||
font pango:Source Sans Pro 8
|
||||
font pango:Source Sans Pro 14
|
||||
|
||||
# use win key
|
||||
set $mod Mod4
|
||||
@@ -293,7 +293,6 @@ exec dbus-sway-environment
|
||||
exec configure-gtk
|
||||
exec nm-applet --indicator
|
||||
exec alacritty -t alacritty-sway
|
||||
exec signal-desktop
|
||||
exec firefox --name=social -p social
|
||||
exec thunderbird
|
||||
exec firefox
|
||||
@@ -311,7 +310,8 @@ exec 'sleep 2; swaymsg workspace "$ws8"; swaymsg layout tabbed'
|
||||
exec mako --default-timeout=5000
|
||||
|
||||
# wallpaper
|
||||
output eDP-1 scale 1.5 scale_filter linear
|
||||
# output eDP-1 scale 2 scale_filter linear
|
||||
output eDP-1 mode 1680x1050
|
||||
output eDP-1 bg #282a36 solid_color
|
||||
output eDP-1 bg ~/.wallpaper.png center
|
||||
output DP-4 bg #282a36 solid_color
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
* {
|
||||
font-size: 10px;
|
||||
font-size: 16px;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user