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 = {
|
programs.yazi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
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