mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 08:10:33 +01:00
Adding catppuccin starship theme; fixing pipewire; minor config changes
This commit is contained in:
parent
981f3e1428
commit
13a8cd116c
|
@ -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": {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -30,16 +30,39 @@
|
|||
};
|
||||
carapace.enable = true;
|
||||
carapace.enableNushellIntegration = true;
|
||||
|
||||
starship = { enable = true;
|
||||
starship =
|
||||
let
|
||||
flavour = "mocha";
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
enableNushellIntegration = true;
|
||||
settings = {
|
||||
add_newline = true;
|
||||
# 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 = {
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue