nixfleet/profiles/core/default.nix
Andrea Ciceri 28f14cab2e
Things
- `cura` without disallowed areas for Ender 3 printers
- `udiskie` service for automounting
- Emacs
  - removed `vimish-fold` and `evil-vimish-fold`
  - added `origami`
  - added  `highlight-indent-guides`
  - restored and improved `dirvish`
2022-06-03 11:48:47 +02:00

66 lines
1.5 KiB
Nix

{ self, config, lib, pkgs, ... }:
let
inherit (lib) fileContents;
in
{
imports = [ ../cachix ];
environment = {
systemPackages = with pkgs; [
bat
bat-extras.batman
binutils
coreutils
curl
dnsutils
dosfstools
fd
git
htop
glances
bottom
gptfdisk
iputils
jq
manix
moreutils
nix-index
nmap
ripgrep
#skim
tealdeer
tmux
usbutils
utillinux
whois
];
};
fonts = {
fonts = with pkgs; [ powerline-fonts dejavu_fonts fira-code fira-code-symbols emacs-all-the-icons-fonts ];
fontconfig.defaultFonts = {
monospace = [ "DejaVu Sans Mono for Powerline" ];
sansSerif = [ "DejaVu Sans" ];
};
};
time.timeZone = "Europe/Rome";
location.provider = "geoclue2";
users.users.root.openssh.authorizedKeys.keys = [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJmn7H6wxrxCHypvY74Z6pBr5G6v564NaUZb9xIILV92JEdpZzuTLLlP+JkMx/8MLRy+pC7prMwR+FhH+LaTm/9x3T6FYP/q9UIAL3cFwBAwj5XQXQKzx9f6pX/7iJrMfAUQ+ZrRUNJHt5Gl+8UypmDgnQLuv5vmQSMRzKnUPuu4lCJtWOpSPhXffz3Ec1tm5nAMuxIMRPY91PYu1fMLlFrjB1FX1goVHKB1uWx16GjJszYCVbN6xcPac0sgUg+qNGBhWkUh0F073rhepQJeWp5FtwIxe2zRsZBxxTy5qxNLmHzBeNDxlOkcy2/Lr+BxVy+mhF/2fJziX80/bWSEA1"
];
nix = {
gc.automatic = true;
optimise.automatic = true;
autoOptimiseStore = true;
useSandbox = true;
allowedUsers = [ "@wheel" ];
trustedUsers = [ "root" "@wheel" ];
};
services.earlyoom.enable = true;
}