Latex styles and mtr
This commit is contained in:
		| @@ -1,7 +1,15 @@ | |||||||
| { config, inputs, pkgs, agenix, ... }: | { | ||||||
|  |   config, | ||||||
|  |   inputs, | ||||||
|  |   pkgs, | ||||||
|  |   agenix, | ||||||
|  |   ... | ||||||
|  | }: | ||||||
|  |  | ||||||
| let user = "olaf"; | let | ||||||
|     keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOk8iAnIaa1deoc7jw8YACPNVka1ZFJxhnU4G74TmS+p" ]; in |   user = "olaf"; | ||||||
|  |   keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOk8iAnIaa1deoc7jw8YACPNVka1ZFJxhnU4G74TmS+p" ]; | ||||||
|  | in | ||||||
| { | { | ||||||
|   imports = [ |   imports = [ | ||||||
|     ../../modules/nixos/secrets.nix |     ../../modules/nixos/secrets.nix | ||||||
| @@ -19,7 +27,14 @@ let user = "olaf"; | |||||||
|       }; |       }; | ||||||
|       efi.canTouchEfiVariables = true; |       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 |     # Uncomment for AMD GPU | ||||||
|     # initrd.kernelModules = [ "amdgpu" ]; |     # initrd.kernelModules = [ "amdgpu" ]; | ||||||
|     kernelPackages = pkgs.linuxPackages_latest; |     kernelPackages = pkgs.linuxPackages_latest; | ||||||
| @@ -42,8 +57,14 @@ let user = "olaf"; | |||||||
|     nixPath = [ "nixos-config=/home/${user}/.local/share/src/nixos-config:/etc/nixos" ]; |     nixPath = [ "nixos-config=/home/${user}/.local/share/src/nixos-config:/etc/nixos" ]; | ||||||
|     settings = { |     settings = { | ||||||
|       allowed-users = [ "${user}" ]; |       allowed-users = [ "${user}" ]; | ||||||
|       trusted-users = [ "@admin" "${user}" ]; |       trusted-users = [ | ||||||
|       substituters = [ "https://nix-community.cachix.org" "https://cache.nixos.org" ]; |         "@admin" | ||||||
|  |         "${user}" | ||||||
|  |       ]; | ||||||
|  |       substituters = [ | ||||||
|  |         "https://nix-community.cachix.org" | ||||||
|  |         "https://cache.nixos.org" | ||||||
|  |       ]; | ||||||
|       trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" ]; |       trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" ]; | ||||||
|     }; |     }; | ||||||
|  |  | ||||||
| @@ -120,7 +141,7 @@ let user = "olaf"; | |||||||
|       overrideDevices = true; |       overrideDevices = true; | ||||||
|  |  | ||||||
|       settings = { |       settings = { | ||||||
|         devices = {}; |         devices = { }; | ||||||
|         options.globalAnnounceEnabled = false; # Only sync on LAN |         options.globalAnnounceEnabled = false; # Only sync on LAN | ||||||
|       }; |       }; | ||||||
|     }; |     }; | ||||||
| @@ -154,8 +175,8 @@ let user = "olaf"; | |||||||
|           "class_g = 'i3lock'" |           "class_g = 'i3lock'" | ||||||
|         ]; |         ]; | ||||||
|         round-borders = 3; |         round-borders = 3; | ||||||
|         round-borders-exclude = []; |         round-borders-exclude = [ ]; | ||||||
|         round-borders-rule = []; |         round-borders-rule = [ ]; | ||||||
|         shadow = true; |         shadow = true; | ||||||
|         shadow-radius = 8; |         shadow-radius = 8; | ||||||
|         shadow-opacity = 0.4; |         shadow-opacity = 0.4; | ||||||
| @@ -206,12 +227,29 @@ let user = "olaf"; | |||||||
|         log-level = "info"; |         log-level = "info"; | ||||||
|  |  | ||||||
|         wintypes = { |         wintypes = { | ||||||
|           normal = { fade = true; shadow = false; }; |           normal = { | ||||||
|           tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; full-shadow = false; }; |             fade = true; | ||||||
|           dock = { shadow = false; }; |             shadow = false; | ||||||
|           dnd = { shadow = false; }; |           }; | ||||||
|           popup_menu = { opacity = 1.0; }; |           tooltip = { | ||||||
|           dropdown_menu = { opacity = 1.0; }; |             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,7 +289,6 @@ let user = "olaf"; | |||||||
|     ledger.enable = true; |     ledger.enable = true; | ||||||
|   }; |   }; | ||||||
|  |  | ||||||
|  |  | ||||||
|   # Add docker daemon |   # Add docker daemon | ||||||
|   virtualisation.docker.enable = true; |   virtualisation.docker.enable = true; | ||||||
|   virtualisation.docker.logDriver = "json-file"; |   virtualisation.docker.logDriver = "json-file"; | ||||||
| @@ -276,7 +313,8 @@ let user = "olaf"; | |||||||
|   # Don't require password for users in `wheel` group for these commands |   # Don't require password for users in `wheel` group for these commands | ||||||
|   security.sudo = { |   security.sudo = { | ||||||
|     enable = true; |     enable = true; | ||||||
|     extraRules = [{ |     extraRules = [ | ||||||
|  |       { | ||||||
|         commands = [ |         commands = [ | ||||||
|           { |           { | ||||||
|             command = "${pkgs.systemd}/bin/reboot"; |             command = "${pkgs.systemd}/bin/reboot"; | ||||||
| @@ -284,7 +322,8 @@ let user = "olaf"; | |||||||
|           } |           } | ||||||
|         ]; |         ]; | ||||||
|         groups = [ "wheel" ]; |         groups = [ "wheel" ]; | ||||||
|     }]; |       } | ||||||
|  |     ]; | ||||||
|   }; |   }; | ||||||
|  |  | ||||||
|   fonts.packages = with pkgs; [ |   fonts.packages = with pkgs; [ | ||||||
| @@ -303,6 +342,5 @@ let user = "olaf"; | |||||||
|     inetutils |     inetutils | ||||||
|   ]; |   ]; | ||||||
|  |  | ||||||
|  |  | ||||||
|   system.stateVersion = "21.05"; # Don't change this |   system.stateVersion = "21.05"; # Don't change this | ||||||
| } | } | ||||||
|   | |||||||
| @@ -8,4 +8,5 @@ shared-packages | |||||||
| ++ [ | ++ [ | ||||||
|   dockutil |   dockutil | ||||||
|   mas |   mas | ||||||
|  |  | ||||||
| ] | ] | ||||||
|   | |||||||
| @@ -37,7 +37,7 @@ in | |||||||
|           export PATH=$HOME/.pnpm-packages/bin:$HOME/.pnpm-packages:$PATH |           export PATH=$HOME/.pnpm-packages/bin:$HOME/.pnpm-packages:$PATH | ||||||
|           export PATH=$HOME/.npm-packages/bin:$HOME/bin:$PATH |           export PATH=$HOME/.npm-packages/bin:$HOME/bin:$PATH | ||||||
|           export PATH=$HOME/.local/share/bin:$PATH |           export PATH=$HOME/.local/share/bin:$PATH | ||||||
|  |           export PATH=$HOME/.cargo/bin:$PATH | ||||||
|           # Remove history data we don't want to see |           # Remove history data we don't want to see | ||||||
|           export HISTIGNORE="pwd:ls:cd" |           export HISTIGNORE="pwd:ls:cd" | ||||||
|  |  | ||||||
|   | |||||||
| @@ -20,6 +20,7 @@ with pkgs; | |||||||
|   zip |   zip | ||||||
|   htop |   htop | ||||||
|   ncdu |   ncdu | ||||||
|  |   mtr | ||||||
|   nixfmt-rfc-style |   nixfmt-rfc-style | ||||||
|  |  | ||||||
|   # Encryption and security tools |   # Encryption and security tools | ||||||
| @@ -59,7 +60,7 @@ with pkgs; | |||||||
|   tmux |   tmux | ||||||
|   unrar |   unrar | ||||||
|   unzip |   unzip | ||||||
|   zsh-powerlevel10k |   #  zsh-powerlevel10k | ||||||
|  |  | ||||||
|   # Python packages |   # Python packages | ||||||
|   python3 |   python3 | ||||||
| @@ -85,6 +86,14 @@ with pkgs; | |||||||
|       tikzfill |       tikzfill | ||||||
|       makecell |       makecell | ||||||
|       bibunits |       bibunits | ||||||
|  |       lualatex-math | ||||||
|  |       selnolig | ||||||
|  |       titling | ||||||
|  |       upquote | ||||||
|  |       microtype | ||||||
|  |       footnotehyper | ||||||
|  |       parskip | ||||||
|  |       xurl | ||||||
|       ; |       ; | ||||||
|  |  | ||||||
|   }) |   }) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user