Latex styles and mtr

This commit is contained in:
Olaf 2025-05-09 13:39:11 +02:00
parent f933be9a9e
commit 3586c78b0d
4 changed files with 77 additions and 29 deletions

View File

@ -1,7 +1,15 @@
{ config, inputs, pkgs, agenix, ... }:
{
config,
inputs,
pkgs,
agenix,
...
}:
let user = "olaf";
keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOk8iAnIaa1deoc7jw8YACPNVka1ZFJxhnU4G74TmS+p" ]; in
let
user = "olaf";
keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOk8iAnIaa1deoc7jw8YACPNVka1ZFJxhnU4G74TmS+p" ];
in
{
imports = [
../../modules/nixos/secrets.nix
@ -19,7 +27,14 @@ let user = "olaf";
};
efi.canTouchEfiVariables = true;
};
initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"nvme"
"usbhid"
"usb_storage"
"sd_mod"
];
# Uncomment for AMD GPU
# initrd.kernelModules = [ "amdgpu" ];
kernelPackages = pkgs.linuxPackages_latest;
@ -42,8 +57,14 @@ let user = "olaf";
nixPath = [ "nixos-config=/home/${user}/.local/share/src/nixos-config:/etc/nixos" ];
settings = {
allowed-users = [ "${user}" ];
trusted-users = [ "@admin" "${user}" ];
substituters = [ "https://nix-community.cachix.org" "https://cache.nixos.org" ];
trusted-users = [
"@admin"
"${user}"
];
substituters = [
"https://nix-community.cachix.org"
"https://cache.nixos.org"
];
trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" ];
};
@ -120,7 +141,7 @@ let user = "olaf";
overrideDevices = true;
settings = {
devices = {};
devices = { };
options.globalAnnounceEnabled = false; # Only sync on LAN
};
};
@ -154,8 +175,8 @@ let user = "olaf";
"class_g = 'i3lock'"
];
round-borders = 3;
round-borders-exclude = [];
round-borders-rule = [];
round-borders-exclude = [ ];
round-borders-rule = [ ];
shadow = true;
shadow-radius = 8;
shadow-opacity = 0.4;
@ -206,12 +227,29 @@ let user = "olaf";
log-level = "info";
wintypes = {
normal = { fade = true; shadow = false; };
tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; full-shadow = false; };
dock = { shadow = false; };
dnd = { shadow = false; };
popup_menu = { opacity = 1.0; };
dropdown_menu = { opacity = 1.0; };
normal = {
fade = true;
shadow = false;
};
tooltip = {
fade = true;
shadow = false;
opacity = 0.75;
focus = true;
full-shadow = false;
};
dock = {
shadow = false;
};
dnd = {
shadow = false;
};
popup_menu = {
opacity = 1.0;
};
dropdown_menu = {
opacity = 1.0;
};
};
};
};
@ -251,8 +289,7 @@ let user = "olaf";
ledger.enable = true;
};
# Add docker daemon
# Add docker daemon
virtualisation.docker.enable = true;
virtualisation.docker.logDriver = "json-file";
@ -276,15 +313,17 @@ let user = "olaf";
# Don't require password for users in `wheel` group for these commands
security.sudo = {
enable = true;
extraRules = [{
commands = [
{
command = "${pkgs.systemd}/bin/reboot";
options = [ "NOPASSWD" ];
}
];
groups = [ "wheel" ];
}];
extraRules = [
{
commands = [
{
command = "${pkgs.systemd}/bin/reboot";
options = [ "NOPASSWD" ];
}
];
groups = [ "wheel" ];
}
];
};
fonts.packages = with pkgs; [
@ -303,6 +342,5 @@ let user = "olaf";
inetutils
];
system.stateVersion = "21.05"; # Don't change this
}

View File

@ -8,4 +8,5 @@ shared-packages
++ [
dockutil
mas
]

View File

@ -37,7 +37,7 @@ in
export PATH=$HOME/.pnpm-packages/bin:$HOME/.pnpm-packages:$PATH
export PATH=$HOME/.npm-packages/bin:$HOME/bin:$PATH
export PATH=$HOME/.local/share/bin:$PATH
export PATH=$HOME/.cargo/bin:$PATH
# Remove history data we don't want to see
export HISTIGNORE="pwd:ls:cd"

View File

@ -20,6 +20,7 @@ with pkgs;
zip
htop
ncdu
mtr
nixfmt-rfc-style
# Encryption and security tools
@ -59,7 +60,7 @@ with pkgs;
tmux
unrar
unzip
zsh-powerlevel10k
# zsh-powerlevel10k
# Python packages
python3
@ -85,6 +86,14 @@ with pkgs;
tikzfill
makecell
bibunits
lualatex-math
selnolig
titling
upquote
microtype
footnotehyper
parskip
xurl
;
})