1 { config, pkgs, lib, ... }:
4 ../nixos/profiles/dnscrypt-proxy2.nix
5 ../nixos/profiles/graphical.nix
6 ../nixos/profiles/lang-fr.nix
7 ../nixos/profiles/networking.nix
8 ../nixos/profiles/printing.nix
9 ../nixos/profiles/security.nix
10 ../nixos/profiles/system.nix
11 ../nixos/profiles/wireguard/wg-intra.nix
17 home-manager.users.sevy = {
18 imports = [ ../homes/sevy.nix ];
19 host.hardware = [ "ThinkPad" "X200" ];
21 systemd.services.home-manager-sevy.postStart = ''
22 ${pkgs.nix}/bin/nix-env --delete-generations +1 --profile /nix/var/nix/profiles/per-user/sevy/home-manager
27 # Put the hashedPassword in /nix/store, but it will also be in /etc/passwd
28 # which is already world readable.
29 hashedPassword = lib.readFile ../private/world/sevy/hashedPassword;
32 config.services.davfs2.davGroup
45 trustedUsers = [ config.users.users."sevy".name ];
47 "http://nix-localcache.losurdo.wg"
48 "ssh://nix-ssh@oignon.wg"
50 binaryCachePublicKeys = map lib.readFile [
51 ../private/shared/nix/losurdo.pub
52 ../private/shared/nix/oignon.pub
56 environment.systemPackages = [
57 pkgs.riseup-vpn # Can't be installed by home-manager because it needs to install policy-kit rules
63 # NOTE: xfconf-query -c xfce4-session -p /general/LockCommand -s "physlock" --create -t string
73 defaultSession = "mate";
75 user = config.users.users.sevy.name;
80 virtualisation.virtualbox.host.enable = true;
82 # This value determines the NixOS release with which your system is to be
83 # compatible, in order to avoid breaking some software such as database
84 # servers. You should change this only after NixOS release notes say you should.
85 system.stateVersion = "20.03"; # Did you read the comment?