From bc4415d3dec1113b7a16634ad1fab846a566b9eb Mon Sep 17 00:00:00 2001 From: Vegard Bieker Matthey Date: Thu, 15 Jan 2026 22:19:11 +0100 Subject: [PATCH] always display notifications --- configuration.nix | 8 +++++++- home.nix | 22 +++++++++++++++++++--- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/configuration.nix b/configuration.nix index 8cb7d67..f707326 100644 --- a/configuration.nix +++ b/configuration.nix @@ -10,6 +10,8 @@ networking.hostName = "nixos-xenon"; networking.networkmanager.enable = true; + boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; + time.timeZone = "Europe/Oslo"; i18n.defaultLocale = "en_US.UTF-8"; @@ -24,6 +26,11 @@ "flakes" ]; use-xdg-base-directories = true; + extra-platforms = [ + "aarch64-linux" + "arm-linux" + ]; + trusted-users = [ "vbm" ]; }; services.thermald.enable = true; @@ -137,7 +144,6 @@ rustfmt wmenu umu-launcher - javaPackages.compiler.openjdk25 ]; }; diff --git a/home.nix b/home.nix index c406aa4..232022c 100644 --- a/home.nix +++ b/home.nix @@ -38,6 +38,9 @@ services.mako = { enable = true; + settings = { + layer = "overlay"; + }; }; services.syncthing.enable = true; @@ -56,6 +59,10 @@ ]; }; + programs.zoxide = { + enableNushellIntegration = config.programs.nushell.enable; + }; + gtk = { enable = true; theme.name = "Adwaita-dark"; @@ -129,7 +136,7 @@ padding-top = "0"; prompt-background = "#222222FF"; prompt-color = "#FFFFFF"; - prompt-text = ""; + prompt-text = "\"\""; result-spacing = "16"; selection-background = "#005577FF"; selection-color = "#FFFFFF"; @@ -184,7 +191,13 @@ }; lua_ls.enable = true; nil_ls.enable = true; - jdtls.enable = true; + jdtls.enable = true; + tinymist = { + enable = true; + settings = { + formatterMode = "typstyle"; + }; + }; }; }; plugins.tresitter.enable = true; @@ -262,7 +275,7 @@ size = 11.0; }; terminal = "foot"; - menu = "wmenu-run -f \"Hack 12\""; + menu = "tofi-drun --drun-launch=true"; keybindings = lib.mkOptionDefault { "${modifier}+Return" = "exec ${terminal}"; "${modifier}+Shift+q" = "kill"; @@ -305,6 +318,8 @@ config = { profile = "gpu-hq"; ao = "pipewire"; + gpu-api = "opengl"; # TODO: Change to vulkan. This is a stupid hack because NVIDIA bad, see: https://github.com/mpv-player/mpv/issues/13019 + fullscreen = "yes"; }; }; @@ -329,6 +344,7 @@ set-option -g default-terminal "screen-256color" set-option -g focus-events on set-option -sg escape-time 10 + set -g mouse on ''; };