1 { config, pkgs, ... }: {
5 auto-optimise-store = true
10 options = "--delete-older-than 30d";
18 time.timeZone = "Europe/Paris";
20 i18n = { # internationalization
21 consoleFont = "Lat2-Terminus16";
23 defaultLocale = "fr_FR.UTF-8";
33 51413 # transmission-gtk
37 51413 # transmission-gtk
45 hardware.pulseaudio.enable = true;
52 systemPackages = with pkgs; [
61 elementary-xfce-icon-theme
64 gnome3.defaultIconTheme
104 interactiveShellInit = ''
105 bind '"\e[A":history-search-backward'
106 bind '"\e[B":history-search-forward'
108 # Ignore duplicate commands, ignore commands starting with a space
109 export HISTCONTROL=erasedups:ignorespace
110 export HISTSIZE=42000
111 # Append to the history instead of overwriting (good for multiple connections)
115 then sudo tee /proc/acpi/ibm/fan <<<"level $1"
116 else grep '^\(level\|speed\):' /proc/acpi/ibm/fan
125 ls = "ls --color=tty";
128 s-u="systemctl --user";
130 nix-clean="sudo nix-collect-garbage -d";
131 nix-catalog="sudo nix-channel --list";
132 nix-history="sudo nix-env --list-generations --profile /nix/var/nix/profiles/system";
133 nix-rollback="sudo nixos-rebuild switch --rollback";
134 nix-update="sudo nix-channel --update";
135 nix-upgrade="sudo nixos-rebuild switch";
136 nix-upstream="sudo nix-channel --list";
137 nix-config="gvim ~/.config/nixos/*.nix";
145 enableSSHSupport = true;
158 packages = [ pkgs.gnome3.dconf ];
170 # NOTE: xfconf-query -c xfce4-session -p /general/LockCommand -s "physlock" --create -t string
183 xkbOptions = "eurosign:e";
184 libinput.enable = true;
191 pkgs.xfce.thunar-archive-plugin
194 xterm.enable = false;
200 # This value determines the NixOS release with which your system is to be
201 # compatible, in order to avoid breaking some software such as database
202 # servers. You should change this only after NixOS release notes say you should.
203 system.stateVersion = "19.09"; # Did you read the comment?