]> Git — Sourcephile - julm/julm-nix.git/blob - homes/sevy.nix
bash: add vim-git function
[julm/julm-nix.git] / homes / sevy.nix
1 { pkgs, lib, config, ... }:
2 {
3 imports = [
4 ./softwares.nix
5 ./options.nix
6 ];
7 host.desktop =
8 config.host.name == "patate";
9 programs.bash.enable = true;
10 programs.git.enable = true;
11 programs.git.package = pkgs.gitMinimal;
12 programs.gpg.enable = true;
13 programs.htop.enable = true;
14 programs.home-manager.enable = true;
15 programs.ssh.enable = true;
16 programs.vim.enable = true;
17 home.file.".profile".text = ''
18 # Tell XFCE to not start ssh-agent
19 if command -v xfconf-query >/dev/null && test ''${DISPLAY:+set}; then
20 xfconf-query -c xfce4-session -p /startup/ssh-agent/enabled -n -t bool -s false
21 fi
22 '';
23 services.gpg-agent.enable = true;
24 services.redshift.enable = config.host.desktop;
25 home.sessionPath = [ "${config.home.homeDirectory}/bin" ];
26 home.sessionVariables = {
27 EDITOR = "vim -g";
28 LANG = "fr_FR.UTF-8";
29 LESS = "-FRSX";
30 LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
31 MANPAGER = "less";
32 };
33 home.packages = [
34 pkgs.acpi
35 pkgs.aria2
36 pkgs.aspell
37 pkgs.aspellDicts.fr
38 pkgs.bc
39 pkgs.binutils
40 pkgs.bmon
41 pkgs.coreutils
42 pkgs.croc
43 pkgs.cryptsetup
44 pkgs.curl
45 pkgs.dino
46 #pkgs.dnsutils
47 pkgs.dstat
48 pkgs.ffmpeg
49 pkgs.file
50 pkgs.git-crypt
51 pkgs.go-mtpfs
52 pkgs.gnumake
53 pkgs.gvfs
54 #pkgs.haskell.packages.ghc865.zerobin
55 pkgs.hledger
56 pkgs.hunspell
57 pkgs.hunspellDicts.fr-moderne
58 pkgs.imagemagick
59 pkgs.inetutils
60 pkgs.knot-dns
61 pkgs.less
62 pkgs.linuxPackages.cpupower
63 pkgs.lm_sensors
64 pkgs.lsof
65 pkgs.lsscsi
66 pkgs.meli
67 pkgs.miniupnpc
68 pkgs.ncdu
69 pkgs.neofetch
70 pkgs.ntfs3g
71 #pkgs.onionshare
72 pkgs.p7zip
73 pkgs.pass
74 pkgs.pciutils
75 pkgs.procps
76 pkgs.rdfind
77 pkgs.smartmontools
78 pkgs.sshfs
79 pkgs.sudo
80 pkgs.tig
81 pkgs.tree
82 pkgs.unzip
83 pkgs.usbutils
84 pkgs.utillinux
85 pkgs.vbetool
86 pkgs.wget
87 pkgs.which
88 pkgs.xdg_utils
89 pkgs.youtube-dl
90 ] ++ lib.optionals config.host.desktop [
91 #pkgs.amule
92 pkgs.chromium
93 pkgs.djview
94 pkgs.dmenu
95 pkgs.evince
96 pkgs.firefox
97 pkgs.freecad
98 pkgs.freeciv_gtk
99 pkgs.geeqie
100 pkgs.gimp
101 pkgs.gparted
102 pkgs.graphviz
103 pkgs.keepass
104 pkgs.libdvdcss
105 pkgs.libreoffice
106 pkgs.liferea
107 pkgs.mplayer
108 pkgs.mumble
109 pkgs.networkmanager-openvpn
110 pkgs.networkmanagerapplet
111 pkgs.parcellite
112 pkgs.pasystray
113 pkgs.pavucontrol
114 pkgs.thunderbird
115 pkgs.transmission-gtk
116 pkgs.vlc
117 pkgs.xclip
118 pkgs.xorg.xhost
119 pkgs.xsane
120
121 pkgs.elementary-xfce-icon-theme
122 pkgs.gnome3.gnome-calculator
123 pkgs.gnome3.defaultIconTheme
124 pkgs.gnome3.file-roller
125 pkgs.gnome3.gnome-keyring
126 pkgs.gnome3.seahorse
127 pkgs.hicolor-icon-theme
128 pkgs.xfce.thunar-volman
129 ];
130 }