From 393c2e72bd0508ecbf2fa6cad31d5a58612de01e Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 19 Apr 2026 11:17:14 +0000 Subject: [PATCH 1/2] Switch default shell from zsh to fish with starship prompt Replace programs.zsh (powerlevel10k theme) with programs.fish and starship prompt integration. Fish provides autosuggestions and syntax highlighting out of the box, eliminating the need for separate plugins. https://claude.ai/code/session_01NS2hpapno51a1Ng7hWaQKy --- configuration.nix | 2 +- home.nix | 15 +++++++-------- shell.nix | 2 +- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/configuration.nix b/configuration.nix index 0bd6310..061c8bb 100644 --- a/configuration.nix +++ b/configuration.nix @@ -77,7 +77,7 @@ users.users.chexit = { isNormalUser = true; description = "chexit"; - shell = pkgs.zsh; + shell = pkgs.fish; extraGroups = [ "networkmanager" "wheel" "docker" ]; }; diff --git a/home.nix b/home.nix index b6d3cd1..182493b 100644 --- a/home.nix +++ b/home.nix @@ -1,22 +1,21 @@ -{ pkgs, ... }: +{ ... }: { home.username = "chexit"; home.homeDirectory = "/home/chexit"; home.stateVersion = "25.11"; - programs.zsh = { + programs.fish = { enable = true; - enableCompletion = true; - autosuggestion.enable = true; - syntaxHighlighting.enable = true; - initContent = '' - source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme - ''; shellAliases = { rebuild = "sudo nixos-rebuild switch --flake ~/nixos-config#chexit"; }; }; + programs.starship = { + enable = true; + enableFishIntegration = true; + }; + programs.home-manager.enable = true; } diff --git a/shell.nix b/shell.nix index b27c8ca..d81c197 100644 --- a/shell.nix +++ b/shell.nix @@ -1,5 +1,5 @@ { ... }: { - programs.zsh.enable = true; + programs.fish.enable = true; } From 11f8ed08e99dfcf4766d39fe8e790e17f8e5b764 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 19 Apr 2026 11:24:46 +0000 Subject: [PATCH 2/2] Add 1Password GUI and CLI via NixOS programs module Enables programs._1password (CLI) and programs._1password-gui with polkit authorization for user chexit. allowUnfree is already set, so packages install without additional config. https://claude.ai/code/session_01NS2hpapno51a1Ng7hWaQKy --- configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configuration.nix b/configuration.nix index 061c8bb..0f13d6c 100644 --- a/configuration.nix +++ b/configuration.nix @@ -81,6 +81,12 @@ extraGroups = [ "networkmanager" "wheel" "docker" ]; }; + programs._1password.enable = true; + programs._1password-gui = { + enable = true; + polkitPolicyOwners = [ "chexit" ]; + }; + programs.throne = { enable = true; tunMode.enable = true;