+{ hostName, ... }:
{
-imports = [
-];
-host.desktop =
- config.host.name == "patate";
-programs.bash.enable = true;
-programs.gpg.enable = true;
-programs.htop.enable = true;
-programs.ssh.enable = true;
-programs.vim.enable = true;
-services.gpg-agent.enable = true;
-services.redshift.enable = config.host.desktop;
-home.sessionVariables = {
- EDITOR = "vim -g";
- LANG = "fr_FR.UTF-8";
- LESS = "-FRSX";
- LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
- MANPAGER = "less";
- PATH = lib.makeBinPath [ config.home.homeDirectory ] + ":$PATH";
-};
-home.packages = [
- pkgs.acpi
- pkgs.aria2
- pkgs.aspell
- pkgs.aspellDicts.fr
- pkgs.bc
- pkgs.binutils
- pkgs.bmon
- pkgs.coreutils
- pkgs.croc
- pkgs.cryptsetup
- pkgs.curl
- pkgs.dino
- #pkgs.dnsutils
- pkgs.ffmpeg
- pkgs.file
- pkgs.git-crypt
- pkgs.gnumake
- pkgs.gvfs
- #pkgs.haskell.packages.ghc865.zerobin
- pkgs.hledger
- pkgs.hunspell
- pkgs.hunspellDicts.fr-moderne
- pkgs.imagemagick
- pkgs.inetutils
- pkgs.knot-dns
- pkgs.less
- pkgs.linuxPackages.cpupower
- pkgs.lm_sensors
- pkgs.lsof
- pkgs.lsscsi
- pkgs.meli
- pkgs.miniupnpc
- pkgs.ncdu
- pkgs.neofetch
- pkgs.ntfs3g
- #pkgs.onionshare
- pkgs.p7zip
- pkgs.pass
- pkgs.pciutils
- pkgs.procps
- pkgs.rdfind
- pkgs.smartmontools
- pkgs.sshfs
- pkgs.sudo
- pkgs.tig
- pkgs.tree
- pkgs.unzip
- pkgs.usbutils
- pkgs.utillinux
- pkgs.vbetool
- pkgs.wget
- pkgs.which
- pkgs.xdg_utils
- pkgs.youtube-dl
- ] ++ lib.optionals config.host.desktop [
- pkgs.amule
- pkgs.chromium
- pkgs.djview
- pkgs.dmenu
- pkgs.evince
- pkgs.firefox
- pkgs.freeciv_gtk
- pkgs.geeqie
- pkgs.gimp
- pkgs.gparted
- pkgs.keepass
- pkgs.libdvdcss
- pkgs.libreoffice
- pkgs.liferea
- pkgs.mplayer
- pkgs.mumble
- pkgs.networkmanager-openvpn
- pkgs.networkmanagerapplet
- pkgs.parcellite
- pkgs.pasystray
- pkgs.pavucontrol
- pkgs.thunderbird
- pkgs.transmission-gtk
- pkgs.vlc
- pkgs.xclip
- pkgs.xsane
-
- pkgs.elementary-xfce-icon-theme
- pkgs.gnome3.gnome-calculator
- pkgs.gnome3.defaultIconTheme
- pkgs.gnome3.file-roller
- pkgs.gnome3.gnome-keyring
- pkgs.gnome3.seahorse
- pkgs.hicolor-icon-theme
- pkgs.xfce.thunar-volman
-];
+ imports = [
+ ../home-manager/profiles/essential.nix
+ ../home-manager/profiles/vim.nix
+ ../home-manager/options.nix
+ (import (sevy/hosts + "/${hostName}.nix"))
+ ];
+ home.stateVersion = "20.09";
}