Regroupement configuration commune

This commit is contained in:
nyanloutre 2018-09-20 12:22:05 +02:00
parent 01a7d09d27
commit 5f9a4d3f26
3 changed files with 86 additions and 91 deletions

View file

@ -6,13 +6,12 @@
{
imports =
[ # Include the results of the hardware scan.
[
../common.nix
./hardware-configuration.nix
];
nixpkgs.overlays = [
(import ../../overlays/sudo.nix)
(import ../../overlays/neovim.nix)
(import ../../overlays/steam.nix)
(import ../../overlays/steamcontroller-udev-rules.nix)
(import ../../overlays/ledger-udev-rules.nix)
@ -46,38 +45,17 @@
defaultLocale = "fr_FR.UTF-8";
};
# Set your time zone.
time.timeZone = "Europe/Paris";
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
gitFull
tig
neovim
usbutils
filezilla
lftp
wineStaging
winetricks
youtube-dl
nix-bash-completions
nix-zsh-completions
python3Full
openvpn
qbittorrent
transmission-remote-gtk
yarn2nix
file
binutils
patchelf
gcc
nix-index
appimage-run
bat
wireguard
nfsUtils
gopass
xclip
@ -127,17 +105,9 @@
glxinfo
i7z
lshw
nmap
nox
obs-studio
sassc
telnet
];
programs.tmux.enable = true;
programs.tmux.clock24 = true;
programs.wireshark.enable = true;
programs.wireshark.package = pkgs.wireshark;
@ -210,18 +180,6 @@
uid = 1000;
extraGroups = [ "wheel" "networkmanager" "wireshark" ];
};
users.defaultUserShell = pkgs.zsh;
programs.zsh.enable = true;
programs.zsh.autosuggestions.enable = true;
programs.zsh.enableCompletion = true;
programs.zsh.syntaxHighlighting.enable = true;
programs.zsh.ohMyZsh.enable = true;
programs.zsh.ohMyZsh.plugins = [ "git" "colored-man-pages" "command-not-found" "extract" ];
programs.zsh.ohMyZsh.theme = "bureau";
nix.gc.automatic = true;
nix.gc.options = "--delete-older-than 15d";
services.syncthing.enable = true;
services.syncthing.user = "paul";