Add nixarr config, move starship to desktop config

This commit is contained in:
2025-10-19 17:47:39 -04:00
parent de3251d74d
commit 920f04128c
4 changed files with 38 additions and 24 deletions

View File

@@ -175,30 +175,6 @@
''; '';
}; };
programs.starship = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
settings = {
line_break = {
disabled = true;
};
username = {
style_user = "bold blue";
format = "[$user]($style)@";
show_always = true;
};
hostname = {
style = "bold cyan";
format = "[$ssh_symbol$hostname]($style) ";
ssh_only = false;
};
directory = {
style = "bold green";
};
};
};
programs.yazi = { programs.yazi = {
enable = true; enable = true;
enableBashIntegration = true; enableBashIntegration = true;

View File

@@ -235,6 +235,30 @@
programs.rofi.enable = true; programs.rofi.enable = true;
programs.starship = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
settings = {
line_break = {
disabled = true;
};
username = {
style_user = "bold blue";
format = "[$user]($style)@";
show_always = true;
};
hostname = {
style = "bold cyan";
format = "[$ssh_symbol$hostname]($style) ";
ssh_only = false;
};
directory = {
style = "bold green";
};
};
};
home.packages = with pkgs; [ home.packages = with pkgs; [
anki-bin anki-bin
gimp gimp

View File

@@ -10,6 +10,7 @@
# Include the results of the hardware scan. # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
../../nixos/base.nix ../../nixos/base.nix
../../nixos/nixarr.nix
]; ];
networking.hostName = "nixarr"; networking.hostName = "nixarr";

13
nixos/nixarr.nix Normal file
View File

@@ -0,0 +1,13 @@
{
pkgs,
nixarr,
...
}: {
nixarr = {
enable = true;
sabnzbd = {
enable = true;
openFirewall = true;
};
};
}