Moving comments

This commit is contained in:
eeva 2017-02-28 22:55:14 +01:00
parent ed36a9a2ce
commit d682b59bc9
2 changed files with 18 additions and 40 deletions

View file

@ -80,7 +80,6 @@
security = { security = {
sudo.wheelNeedsPassword = false; sudo.wheelNeedsPassword = false;
pki.certificates = [ pki.certificates = [
#(builtins.readFile ./MarvidCA.crt)
'' ''
-----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----
MIIDPTCCAiWgAwIBAgIJAMbx5WIu+oU+MA0GCSqGSIb3DQEBBQUAMDUxCzAJBgNV MIIDPTCCAiWgAwIBAgIJAMbx5WIu+oU+MA0GCSqGSIb3DQEBBQUAMDUxCzAJBgNV
@ -114,7 +113,7 @@
nixosManual.enable = false; nixosManual.enable = false;
printing = { printing = {
enable = true; enable = true;
# drivers = [ pkgs.hplip ]; # Pas testé depuis un an :D # drivers = [ pkgs.hplip ];
}; };
compton = { compton = {
@ -123,7 +122,7 @@
}; };
redshift = { redshift = {
enable = true; enable = true;
latitude = "48.8534100"; # La force de la main latitude = "48.8534100";
longitude = "2.3488000"; longitude = "2.3488000";
}; };
@ -167,41 +166,25 @@
}; };
#systemd.mounts = [ systemd.mounts = [
# { what = "/dev/sdb1"; { what = "/dev/sdb1";
# where = "/mnt/usb1"; where = "/mnt/usb1";
# mountConfig = { mountConfig = {
# TimeoutSec = "1"; TimeoutSec = "1";
# Options = "uid=1000"; Options = "uid=eeva";
# }; };
# } }
#]; ];
#systemd.automounts = [ # Marche bueno, I recommend hotly systemd.automounts = [
# { where = "/mnt/usb1"; { where = "/mnt/usb1";
# automountConfig = { TimeoutIdleSec = "1"; }; automountConfig = { TimeoutIdleSec = "1"; };
# wantedBy = [ "default.target" ]; wantedBy = [ "default.target" ];
# } }
#]; ];
#systemd.user.services = {
#backup = {
# description = "backup: Backup the Candies.";
# path = [ pkgs.rsync pkgs.openssh ];
# script = "rsync -az /home/eeva/Candies eeva@protonpack:";
# startAt = "*:0/30";
# wantedBy = [ "timers.target" ];
#};
#};
time.timeZone = "Europe/Paris"; time.timeZone = "Europe/Paris";
users = { users = {
extraGroups = {
eeva.gid = 1000;
vboxusers.members = [ "eeva" ];
vboxsf.members = [ "eeva" ];
};
extraUsers.eeva = { extraUsers.eeva = {
isNormalUser = true; isNormalUser = true;
home = "/home/eeva"; home = "/home/eeva";

View file

@ -1,15 +1,11 @@
# Largely adapted from: https://www.mpscholten.de/nixos/2016/04/11/setting-up-vim-on-nixos.html
with import <nixpkgs> {}; with import <nixpkgs> {};
vim_configurable.customize { vim_configurable.customize {
# Specifies the vim binary name.
# E.g. set this to "my-vim" and you need to type "my-vim" to open this vim
# This allows to have multiple vim packages installed (e.g. with a different set of plugins)
name = "vim"; name = "vim";
vimrcConfig.vam.knownPlugins = pkgs.vimPlugins; vimrcConfig.vam.knownPlugins = pkgs.vimPlugins;
vimrcConfig.vam.pluginDictionaries = [ vimrcConfig.vam.pluginDictionaries = [
{ names = [ { names = [
# Here you can place all your vim plugins
# They are installed managed by `vam` (a vim plugin manager)
"vim-nix" "vim-nix"
"Solarized" "Solarized"
"fugitive" "fugitive"
@ -106,5 +102,4 @@ vim_configurable.customize {
" Normal backspace " Normal backspace
set backspace=indent,eol,start set backspace=indent,eol,start
''; '';
} }