From 1d533bf6bc7fee1588e8bd303edeb56dd5ca504c Mon Sep 17 00:00:00 2001 From: TheK0tYaRa Date: Sun, 22 Feb 2026 04:54:25 +0200 Subject: [PATCH] fixup --- flake.nix | 19 ++++++++++++++++--- home.nix | 26 +++++++++++++++++++++++--- 2 files changed, 39 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index ed2defd..7c20dd3 100644 --- a/flake.nix +++ b/flake.nix @@ -96,7 +96,7 @@ }; age = { secrets = { - "wg/syscon0.key".file = ./secrets/wg/syscon0.key.age; + # "wg/syscon0.key".file = ./secrets/wg/syscon0.key.age; "github/token.ro.age" = { file = ./secrets/github/token.ro.age; owner = "root"; @@ -151,8 +151,21 @@ android-tools ]; }; - security.polkit = { - enable = true; + security = { + polkit = { + enable = true; + }; + sudo = { + extraRules = [{ + commands = [ + { + command = "/run/current-system/sw/bin/nix"; + options = [ "NOPASSWD" ]; + } + ]; + groups = [ "wheel" ]; + }]; + }; }; # virtualisation.qemu = { # options = [ diff --git a/home.nix b/home.nix index 853342a..bd86831 100644 --- a/home.nix +++ b/home.nix @@ -170,6 +170,9 @@ OLLAMA_MODELS = "/home/thek0tyara/Downloads/llm/ollama"; }; }; + podman = { + enable = true; + }; polkit-gnome.enable = true; qdrant = { enable = true; @@ -379,13 +382,30 @@ }; }; # - ghostty = { + wezterm = { enable = true; - package = ghostty.packages.${system}.default; + extraConfig = '' +local wezterm = require 'wezterm' + +local config = wezterm.config_builder() + +config.default_prog = { "fish", "--login" --, "-c", "tmux attach -t dev || tmux new -s dev" +} +config.color_scheme = "Ayu Dark" +config.hide_tab_bar_if_only_one_tab = true + +return config + ''; + }; + ghostty = { + # enable = true; + # package = ghostty.packages.${system}.default; settings = { theme = "dark"; term = "xterm-256color"; - scrollback-limit = 1000000; + scrollback-limit = 100000; + # fullscreen = true; + # title = ''"daft cunt can't set scrollback"''; }; themes = { dark = {