mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 08:00:31 +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": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1707347730,
|
"lastModified": 1707514827,
|
||||||
"narHash": "sha256-0etC/exQIaqC9vliKhc3eZE2Mm2wgLa0tj93ZF/egvM=",
|
"narHash": "sha256-Y+wqFkvikpE1epCx57PsGw+M1hX5aY5q/xgk+ebDwxI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "6832d0d99649db3d65a0e15fa51471537b2c56a6",
|
"rev": "20f65b86b6485decb43c5498780c223571dd56ef",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -10,7 +10,7 @@ $env.config = {
|
||||||
case_sensitive: false # case-sensitive completions
|
case_sensitive: false # case-sensitive completions
|
||||||
quick: true # set to false to prevent auto-selecting completions
|
quick: true # set to false to prevent auto-selecting completions
|
||||||
partial: true # set to false to prevent partial filling of the prompt
|
partial: true # set to false to prevent partial filling of the prompt
|
||||||
algorithm: "fuzzy" # prefix or fuzzy
|
algorithm: "prefix" # prefix or fuzzy
|
||||||
external: {
|
external: {
|
||||||
# set to false to prevent nushell looking into $env.PATH to find more suggestions
|
# set to false to prevent nushell looking into $env.PATH to find more suggestions
|
||||||
enable: true
|
enable: true
|
||||||
|
|
|
@ -30,16 +30,39 @@
|
||||||
};
|
};
|
||||||
carapace.enable = true;
|
carapace.enable = true;
|
||||||
carapace.enableNushellIntegration = true;
|
carapace.enableNushellIntegration = true;
|
||||||
|
starship =
|
||||||
starship = { enable = true;
|
let
|
||||||
settings = {
|
flavour = "mocha";
|
||||||
add_newline = true;
|
in
|
||||||
character = {
|
{
|
||||||
success_symbol = "[λ::](bold green)";
|
enable = true;
|
||||||
error_symbol = "[λ::](bold red)";
|
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.enable = true;
|
||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
|
|
|
@ -86,11 +86,12 @@
|
||||||
#};
|
#};
|
||||||
hardware.pulseaudio.enable = false;
|
hardware.pulseaudio.enable = false;
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
|
security.polkit.enable = true;
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
#pulse.enable = true;
|
pulse.enable = true;
|
||||||
# If you want to use JACK applications, uncomment this
|
# If you want to use JACK applications, uncomment this
|
||||||
jack.enable = true;
|
jack.enable = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue