diff --git a/flake.lock b/flake.lock index 6f95dd4..60e8773 100644 --- a/flake.lock +++ b/flake.lock @@ -154,11 +154,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1707347730, - "narHash": "sha256-0etC/exQIaqC9vliKhc3eZE2Mm2wgLa0tj93ZF/egvM=", + "lastModified": 1707514827, + "narHash": "sha256-Y+wqFkvikpE1epCx57PsGw+M1hX5aY5q/xgk+ebDwxI=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "6832d0d99649db3d65a0e15fa51471537b2c56a6", + "rev": "20f65b86b6485decb43c5498780c223571dd56ef", "type": "github" }, "original": { diff --git a/home/config-files/config.nu b/home/config-files/config.nu index a87adf3..b7c82f5 100644 --- a/home/config-files/config.nu +++ b/home/config-files/config.nu @@ -10,7 +10,7 @@ $env.config = { case_sensitive: false # case-sensitive completions quick: true # set to false to prevent auto-selecting completions partial: true # set to false to prevent partial filling of the prompt - algorithm: "fuzzy" # prefix or fuzzy + algorithm: "prefix" # prefix or fuzzy external: { # set to false to prevent nushell looking into $env.PATH to find more suggestions enable: true diff --git a/home/default.nix b/home/default.nix index 8a23723..c80a887 100644 --- a/home/default.nix +++ b/home/default.nix @@ -30,16 +30,39 @@ }; carapace.enable = true; carapace.enableNushellIntegration = true; - - starship = { enable = true; - settings = { - add_newline = true; - character = { - success_symbol = "[λ::](bold green)"; - error_symbol = "[λ::](bold red)"; - }; - }; - }; + starship = + let + flavour = "mocha"; + in + { + enable = true; + enableNushellIntegration = true; + settings = { + # Other config here + character = { + success_symbol = "[λ::](bold green)"; + error_symbol = "[λ::](bold red)"; + }; + format = "$all"; # Remove this line to disable the default prompt format + palette = "catppuccin_${flavour}"; + } // builtins.fromTOML (builtins.readFile + (pkgs.fetchFromGitHub + { + owner = "catppuccin"; + repo = "starship"; + rev = "5629d2356f62a9f2f8efad3ff37476c19969bd4f"; # Replace with the latest commit hash + sha256 = "sha256-nsRuxQFKbQkyEI4TXgvAjcroVdG+heKX5Pauq/4Ota0="; + } + /palettes/${flavour}.toml)); + }; + #starship = { enable = true; + # settings = { + # add_newline = true; + # character = { + # success_symbol = "[λ::](bold green)"; + # error_symbol = "[λ::](bold red)"; + # }; + # }; + #}; }; dconf.enable = true; dconf.settings = { diff --git a/hosts/lilith/default.nix b/hosts/lilith/default.nix index 5d92d32..373c191 100644 --- a/hosts/lilith/default.nix +++ b/hosts/lilith/default.nix @@ -86,11 +86,12 @@ #}; hardware.pulseaudio.enable = false; security.rtkit.enable = true; + security.polkit.enable = true; services.pipewire = { enable = true; alsa.enable = true; alsa.support32Bit = true; - #pulse.enable = true; + pulse.enable = true; # If you want to use JACK applications, uncomment this jack.enable = true; };