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;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
logo = {
|
logo = {
|
||||||
# Created with Chafa
|
# Created with Chafa
|
||||||
# chafa -s 26x13 -w 9 --symbols vhalf --view-size 26x13 cloud.png > cloud.txt
|
source = builtins.readFile logoFile;
|
||||||
source = builtins.readFile ./cloud.txt;
|
|
||||||
type = "data";
|
type = "data";
|
||||||
position = "left";
|
position = "left";
|
||||||
padding = {
|
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; [
|
environment.systemPackages = with pkgs; [
|
||||||
git
|
git
|
||||||
micro
|
micro
|
||||||
|
@ -57,4 +56,8 @@ in {
|
||||||
sshfs
|
sshfs
|
||||||
wget
|
wget
|
||||||
];
|
];
|
||||||
|
|
||||||
|
environment.variables = {
|
||||||
|
HOSTNAME = hostname;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,7 +55,7 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
## PACKAGES ##
|
## ENVIORMENT & PACKAGES ##
|
||||||
nixpkgs.overlays = [ (import ./overlays) ];
|
nixpkgs.overlays = [ (import ./overlays) ];
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
git
|
git
|
||||||
|
@ -68,4 +68,8 @@ in {
|
||||||
snapraid-runner
|
snapraid-runner
|
||||||
wget
|
wget
|
||||||
];
|
];
|
||||||
|
|
||||||
|
environment.variables = {
|
||||||
|
HOSTNAME = hostname;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,7 +43,7 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
## PACKAGES ##
|
## ENVIORMENT & PACKAGES ##
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
git
|
git
|
||||||
micro
|
micro
|
||||||
|
@ -52,4 +52,8 @@ in {
|
||||||
sshfs
|
sshfs
|
||||||
wget
|
wget
|
||||||
];
|
];
|
||||||
|
|
||||||
|
environment.variables = {
|
||||||
|
HOSTNAME = hostname;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,7 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
## PACKAGES ##
|
## ENVIORMENT & PACKAGES ##
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
git
|
git
|
||||||
micro
|
micro
|
||||||
|
@ -51,6 +51,10 @@ in {
|
||||||
x2goserver
|
x2goserver
|
||||||
];
|
];
|
||||||
|
|
||||||
|
environment.variables = {
|
||||||
|
HOSTNAME = hostname;
|
||||||
|
};
|
||||||
|
|
||||||
## VS CODE ##
|
## VS CODE ##
|
||||||
programs.nix-ld = {
|
programs.nix-ld = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -3,10 +3,6 @@
|
||||||
let
|
let
|
||||||
|
|
||||||
hostname = "proxy";
|
hostname = "proxy";
|
||||||
admin = "toph";
|
|
||||||
password = "[REDACTED]";
|
|
||||||
timeZone = "America/New_York";
|
|
||||||
defaultLocale = "en_US.UTF-8";
|
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
|
||||||
|
@ -50,7 +46,7 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
## PACKAGES ##
|
## ENVIORMENT & PACKAGES ##
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
git
|
git
|
||||||
micro
|
micro
|
||||||
|
@ -58,4 +54,8 @@ in {
|
||||||
ranger
|
ranger
|
||||||
sshfs
|
sshfs
|
||||||
];
|
];
|
||||||
|
|
||||||
|
environment.variables = {
|
||||||
|
HOSTNAME = hostname;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue