Add nixarr config, move starship to desktop config
This commit is contained in:
@@ -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 = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
|
||||
@@ -235,6 +235,30 @@
|
||||
|
||||
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; [
|
||||
anki-bin
|
||||
gimp
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../../nixos/base.nix
|
||||
../../nixos/nixarr.nix
|
||||
];
|
||||
|
||||
networking.hostName = "nixarr";
|
||||
|
||||
13
nixos/nixarr.nix
Normal file
13
nixos/nixarr.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
pkgs,
|
||||
nixarr,
|
||||
...
|
||||
}: {
|
||||
nixarr = {
|
||||
enable = true;
|
||||
sabnzbd = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user