Fixed up home-manager host specific setups
This commit is contained in:
parent
d7b15ce44d
commit
3f3f749502
15 changed files with 32 additions and 97 deletions
|
@ -1,11 +1,15 @@
|
|||
{ lib, pkgs, osConfig, ... }:
|
||||
{
|
||||
programs.fastfetch = {
|
||||
programs.fastfetch = let
|
||||
# TODO: move home mnager out of standalone so i dont need so use --impure for this
|
||||
hostname = builtins.getEnv "HOSTNAME";
|
||||
logoFile = ./. + "/host/${hostname}.txt";
|
||||
in {
|
||||
enable = true;
|
||||
settings = {
|
||||
logo = {
|
||||
# Created with Chafa
|
||||
# chafa -s 26x13 -w 9 --symbols vhalf --view-size 26x13 cloud.png > cloud.txt
|
||||
source = builtins.readFile ./cloud.txt;
|
||||
source = builtins.readFile logoFile;
|
||||
type = "data";
|
||||
position = "left";
|
||||
padding = {
|
||||
|
|
0
home/modules/fastfetch/host/dockge.txt
Normal file
0
home/modules/fastfetch/host/dockge.txt
Normal file
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 8.9 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
|
@ -1,84 +0,0 @@
|
|||
{
|
||||
programs.fastfetch = {
|
||||
enable = true;
|
||||
settings = {
|
||||
logo = {
|
||||
# Created with Chafa
|
||||
# chafa -s 26x13 -w 9 --symbols stipple+vhalf --view-size 26x13 nixos.png > nixos.txt
|
||||
source = builtins.readFile ./nixos.txt;
|
||||
type = "data";
|
||||
position = "left";
|
||||
padding = {
|
||||
top = 0;
|
||||
};
|
||||
};
|
||||
display = {
|
||||
separator = " ";
|
||||
};
|
||||
modules = [
|
||||
{
|
||||
key = "╭───────────╮";
|
||||
type = "custom";
|
||||
}
|
||||
{
|
||||
key = "│ {#31} user {#keys}│";
|
||||
type = "title";
|
||||
format = "{user-name}";
|
||||
}
|
||||
{
|
||||
key = "│ {#32} host {#keys}│";
|
||||
type = "title";
|
||||
format = "{host-name}";
|
||||
}
|
||||
{
|
||||
key = "│ {#33} uptime {#keys}│";
|
||||
type = "uptime";
|
||||
}
|
||||
{
|
||||
key = "│ {#34}{icon} distro {#keys}│";
|
||||
type = "os";
|
||||
}
|
||||
{
|
||||
key = "│ {#36} desktop {#keys}│";
|
||||
type = "de";
|
||||
}
|
||||
{
|
||||
key = "│ {#32} shell {#keys}│";
|
||||
type = "shell";
|
||||
}
|
||||
{
|
||||
key = "│ {#33} cpu {#keys}│";
|
||||
type = "cpu";
|
||||
showPeCoreCount = true;
|
||||
}
|
||||
{
|
||||
key = "│ {#34} disk {#keys}│";
|
||||
type = "disk";
|
||||
folders = "/";
|
||||
}
|
||||
{
|
||||
key = "│ {#35} memory {#keys}│";
|
||||
type = "memory";
|
||||
}
|
||||
{
|
||||
key = "│ {#36} network {#keys}│";
|
||||
type = "localip";
|
||||
format = "{ipv4} ({ifname})";
|
||||
}
|
||||
{
|
||||
key = "├───────────┤";
|
||||
type = "custom";
|
||||
}
|
||||
{
|
||||
key = "│ {#39} colors {#keys}│";
|
||||
type = "colors";
|
||||
symbol = "circle";
|
||||
}
|
||||
{
|
||||
key = "╰───────────╯";
|
||||
type = "custom";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
0
home/modules/fastfetch/host/proxy.txt
Normal file
0
home/modules/fastfetch/host/proxy.txt
Normal file
|
@ -47,8 +47,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
## PACKAGES ##
|
||||
|
||||
## ENVIORMENT & PACKAGES ##
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
micro
|
||||
|
@ -57,4 +56,8 @@ in {
|
|||
sshfs
|
||||
wget
|
||||
];
|
||||
|
||||
environment.variables = {
|
||||
HOSTNAME = hostname;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
## PACKAGES ##
|
||||
## ENVIORMENT & PACKAGES ##
|
||||
nixpkgs.overlays = [ (import ./overlays) ];
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
|
@ -68,4 +68,8 @@ in {
|
|||
snapraid-runner
|
||||
wget
|
||||
];
|
||||
|
||||
environment.variables = {
|
||||
HOSTNAME = hostname;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -43,7 +43,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
## PACKAGES ##
|
||||
## ENVIORMENT & PACKAGES ##
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
micro
|
||||
|
@ -52,4 +52,8 @@ in {
|
|||
sshfs
|
||||
wget
|
||||
];
|
||||
|
||||
environment.variables = {
|
||||
HOSTNAME = hostname;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -39,7 +39,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
## PACKAGES ##
|
||||
## ENVIORMENT & PACKAGES ##
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
micro
|
||||
|
@ -51,6 +51,10 @@ in {
|
|||
x2goserver
|
||||
];
|
||||
|
||||
environment.variables = {
|
||||
HOSTNAME = hostname;
|
||||
};
|
||||
|
||||
## VS CODE ##
|
||||
programs.nix-ld = {
|
||||
enable = true;
|
||||
|
|
|
@ -3,10 +3,6 @@
|
|||
let
|
||||
|
||||
hostname = "proxy";
|
||||
admin = "toph";
|
||||
password = "[REDACTED]";
|
||||
timeZone = "America/New_York";
|
||||
defaultLocale = "en_US.UTF-8";
|
||||
|
||||
in {
|
||||
|
||||
|
@ -50,7 +46,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
## PACKAGES ##
|
||||
## ENVIORMENT & PACKAGES ##
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
micro
|
||||
|
@ -58,4 +54,8 @@ in {
|
|||
ranger
|
||||
sshfs
|
||||
];
|
||||
|
||||
environment.variables = {
|
||||
HOSTNAME = hostname;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue