forked from mirrors_public/oddlama_nix-config
chore: format everything
This commit is contained in:
parent
deca311c68
commit
7ccd7856ee
162 changed files with 4750 additions and 3718 deletions
|
@ -1,4 +1,5 @@
|
|||
{config, ...}: {
|
||||
{ config, ... }:
|
||||
{
|
||||
programs.htop = {
|
||||
enable = true;
|
||||
settings =
|
||||
|
@ -12,21 +13,25 @@
|
|||
hide_userland_threads = 1;
|
||||
sort_key = 46; # Sort by %CPU if not in tree mode
|
||||
}
|
||||
// (with config.lib.htop;
|
||||
// (
|
||||
with config.lib.htop;
|
||||
leftMeters [
|
||||
(bar "LeftCPUs2")
|
||||
(bar "Memory")
|
||||
(bar "Swap")
|
||||
(bar "ZFSARC")
|
||||
(text "NetworkIO")
|
||||
])
|
||||
// (with config.lib.htop;
|
||||
]
|
||||
)
|
||||
// (
|
||||
with config.lib.htop;
|
||||
rightMeters [
|
||||
(bar "RightCPUs2")
|
||||
(text "LoadAverage")
|
||||
(text "Tasks")
|
||||
(text "Uptime")
|
||||
(text "Systemd")
|
||||
]);
|
||||
]
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
|
@ -3,9 +3,11 @@
|
|||
lib,
|
||||
nixosConfig,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
inherit (lib) optionals;
|
||||
in {
|
||||
in
|
||||
{
|
||||
home.persistence."/state".files = optionals config.programs.ssh.enable [
|
||||
".ssh/known_hosts"
|
||||
];
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{...}: {
|
||||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./starship.nix
|
||||
./nushell
|
||||
|
@ -7,7 +8,7 @@
|
|||
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
options = ["--cmd p"];
|
||||
options = [ "--cmd p" ];
|
||||
};
|
||||
|
||||
# nix-index-database is enabled globally for each user in config/home-manager.nix
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{lib, ...}: {
|
||||
{ lib, ... }:
|
||||
{
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
@ -2,9 +2,10 @@
|
|||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
# Needed in path for zsh-histdb
|
||||
home.packages = [pkgs.sqlite-interactive];
|
||||
home.packages = [ pkgs.sqlite-interactive ];
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue