{ config, pkgs, lib, ... }:
{
imports = [
- ../nixos/profiles/dnscrypt-proxy2.nix
../nixos/profiles/graphical.nix
../nixos/profiles/lang-fr.nix
+ ../nixos/profiles/laptop.nix
../nixos/profiles/printing.nix
- ../nixos/profiles/wireguard/wg-intra.nix
patate/backup.nix
patate/hardware.nix
- patate/wireguard.nix
+ patate/nebula.nix
+ patate/networking.nix
];
# Lower kernel's security for better performances
home-manager.users.sevy = {
imports = [ ../homes/sevy.nix ];
};
- systemd.services.home-manager-sevy.postStart = ''
- ${pkgs.nix}/bin/nix-env --delete-generations +1 --profile /nix/var/nix/profiles/per-user/sevy/home-manager
- '';
users.users.sevy = {
isNormalUser = true;
uid = 1000;
nix = {
settings = {
- trusted-users = [ config.users.users."sevy".name ];
substituters = [
#"ssh://nix-ssh@losurdo.wg?priority=30"
- "ssh://nix-ssh@oignon.wg?priority=10"
+ #"ssh://nix-ssh@oignon.wg?priority=10"
];
trusted-public-keys = map lib.readFile [
../users/root/nix/losurdo.pub
pkgs.riseup-vpn # Can't be installed by home-manager because it needs to install policy-kit rules
];
- services.physlock = {
- enable = true;
- allowAnyUser = true;
- # NOTE: xfconf-query -c xfce4-session -p /general/LockCommand -s "physlock" --create -t string
- };
-
services.xserver = {
desktopManager = {
mate.enable = true;