84 lines
1.3 KiB
Nix
84 lines
1.3 KiB
Nix
|
{ config, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
|
||
|
time.timeZone = "Europe/Paris";
|
||
|
|
||
|
nixpkgs.overlays = [
|
||
|
(import ../overlays/sudo.nix)
|
||
|
(import ../overlays/neovim.nix)
|
||
|
];
|
||
|
|
||
|
nixpkgs.config.allowUnfree = true;
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
# Editeurs
|
||
|
neovim
|
||
|
|
||
|
# Gestionnaires de version
|
||
|
gitFull
|
||
|
tig
|
||
|
|
||
|
# Gestion de paquets
|
||
|
nix-prefetch-scripts
|
||
|
nox
|
||
|
nix-index
|
||
|
|
||
|
# Système
|
||
|
smartmontools
|
||
|
htop
|
||
|
lshw
|
||
|
usbutils
|
||
|
|
||
|
# Réseau
|
||
|
telnet
|
||
|
rclone
|
||
|
lftp
|
||
|
wireguard
|
||
|
nfsUtils
|
||
|
nmap
|
||
|
|
||
|
# Divers
|
||
|
fzf
|
||
|
file
|
||
|
ncdu
|
||
|
youtube-dl
|
||
|
tldr
|
||
|
|
||
|
# Audio
|
||
|
beets
|
||
|
|
||
|
# Outils
|
||
|
borgbackup
|
||
|
|
||
|
# Développement
|
||
|
openssl
|
||
|
];
|
||
|
|
||
|
programs.tmux = {
|
||
|
enable = true;
|
||
|
clock24 = true;
|
||
|
};
|
||
|
|
||
|
users.defaultUserShell = pkgs.zsh;
|
||
|
programs.zsh = {
|
||
|
enable = true;
|
||
|
enableAutosuggestions = true;
|
||
|
enableCompletion = true;
|
||
|
syntaxHighlighting.enable = true;
|
||
|
interactiveShellInit = ''
|
||
|
source "$(${pkgs.fzf}/bin/fzf-share)/key-bindings.zsh"
|
||
|
'';
|
||
|
ohMyZsh = {
|
||
|
enable = true;
|
||
|
plugins = [ "git" "colored-man-pages" "command-not-found" "extract" ];
|
||
|
theme = "bureau";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
environment.variables = { EDITOR = "nvim"; };
|
||
|
|
||
|
nix.gc.automatic = true;
|
||
|
nix.gc.options = "--delete-older-than 15d";
|
||
|
|
||
|
}
|