diff options
| author | Petri Hienonen <petri.hienonen@gmail.com> | 2025-12-31 10:50:26 +0200 |
|---|---|---|
| committer | Petri Hienonen <petri.hienonen@gmail.com> | 2025-12-31 10:50:26 +0200 |
| commit | 87376d215cc0950f2626feb29e0ceb7aa01cff14 (patch) | |
| tree | 31f9151ce3eee4ab18c7bce2c59bec6c73a3cdb7 /home/default.nix | |
| parent | 773c14a39473a8d4531007eb4fe9aafe025444ef (diff) | |
| download | nixos-87376d215cc0950f2626feb29e0ceb7aa01cff14.tar.zst | |
Update configuration
Diffstat (limited to 'home/default.nix')
| -rw-r--r-- | home/default.nix | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/home/default.nix b/home/default.nix index 7446be3..598cfee 100644 --- a/home/default.nix +++ b/home/default.nix @@ -115,10 +115,10 @@ in settings = { buffer = { autofocus = true; + history = true; images = true; - styling = true; scripting = true; - history = true; + styling = true; }; input = { vi-numeric-prefix = true; @@ -278,11 +278,11 @@ in themes = { nord = { background = "#2e3440"; + cursor-color = "#d8dee9"; + cursor-text = "#2e3440"; foreground = "#d8dee9"; selection-background = "#3f4758"; selection-foreground = "#d8dee9"; - cursor-color = "#d8dee9"; - cursor-text = "#2e3440"; palette = [ "0=#3b4252" "1=#bf616a" @@ -308,10 +308,10 @@ in enableDefaultConfig = false; enable = true; matchBlocks."*" = { - serverAliveInterval = 1; compression = true; controlMaster = "auto"; controlPersist = "10m"; + serverAliveInterval = 1; }; }; }; @@ -368,26 +368,26 @@ in }; username = "${vars.user}"; sessionVariables = { - CC = "clang"; BROWSER = "${pkgs.firefox}/bin/firefox"; CARGO_REGISTRIES_RELESOFT_CREDENTIAL_PROVIDER = "cargo:token"; CARGO_REGISTRIES_RELESOFT_INDEX = "sparse+https://git.relesoft.io/api/packages/relesoft/cargo/"; CARGO_REGISTRIES_RELESOFT_IO_PROTOCOL = "sparse"; CARGO_REGISTRIES_RELESOFT_TOKEN = "$(${pkgs.coreutils}/bin/cat ${config.age.secrets.relesoft_cargo_token.path})"; + CC = "clang"; CURSOR_SIZE = "16"; DEFAULT_BROWSER = "${pkgs.firefox}/bin/firefox"; ELECTRON_OZONE_PLATFORM_HINT = "auto"; GDK_SCALE = "1"; MOZ_USE_XINPUT2 = "1"; NIXOS_OZONE_WL = "1"; + OPENAI_API_KEY = "$(${pkgs.coreutils}/bin/cat ${config.age.secrets.openai_auth_token.path})"; PAGER = "${pkgs.nvimpager}/bin/nvimpager"; PISTOL_CHROMA_FORMATTER = "terminal256"; PISTOL_CHROMA_STYLE = "monokai"; - VISUAL = "${pkgs.neovim}/bin/nvim"; - OPENAI_API_KEY = "$(${pkgs.coreutils}/bin/cat ${config.age.secrets.openai_auth_token.path})"; SHIORI_PASSWORD = "$(${pkgs.coreutils}/bin/cat ${config.age.secrets.shiori_password.path})"; - UNSPLASH_ACCESS_KEY = "$(${pkgs.coreutils}/bin/cat ${config.age.secrets.unsplash_access_key.path})"; TERMCMD = "${pkgs.ghostty}/bin/ghostty"; + UNSPLASH_ACCESS_KEY = "$(${pkgs.coreutils}/bin/cat ${config.age.secrets.unsplash_access_key.path})"; + VISUAL = "${pkgs.neovim}/bin/nvim"; }; pointerCursor = { @@ -405,7 +405,6 @@ in clipse # clipboard management impala # iwd terminal ui lux # youtube-downloader - unstable.nom # rss reader rmpc # tui for mpd rtorrent # torrent systemctl-tui @@ -466,7 +465,7 @@ in inxi # system innformation jq # commandline json parser kramdown-asciidoc # command to convert markdown to asciidoc - minio-client + minio-client # minio command line moor # less replacement ntfy-sh # notifications nvimpager # use neovim as pager @@ -537,12 +536,12 @@ in }; desktopEntries = { nvim = { - name = "nvim"; - genericName = "Editor"; - exec = ''${pkgs.neovim}/bin/nvim''; - terminal = true; categories = [ ]; comment = "A text editor"; + exec = ''${pkgs.neovim}/bin/nvim''; + genericName = "Editor"; + name = "nvim"; + terminal = true; }; }; @@ -576,9 +575,9 @@ in { filechooser = { cmd = "yazi-wrapper.sh"; + default_dir = "/home/petri/Downloads"; open_mode = "suggested"; save_mode = "last"; - default_dir = "/home/petri/Downloads"; }; }; |
