10 ../nixos/profiles/router.nix
11 #../nixos/profiles/debug.nix
12 ../nixos/profiles/lang-fr.nix
13 #../nixos/profiles/tor.nix
14 ../nixos/profiles/networking/remote.nix
15 ../nixos/profiles/home.nix
19 aubergine/hardware.nix
21 aubergine/networking.nix
23 aubergine/pixiecore.nix
24 aubergine/printing.nix
28 # Lower kernel's security for better performances
29 security.kernel.mitigations = "off";
31 home-manager.users.julm = {
32 imports = [ ../homes/julm.nix ];
38 # Put the hashedPassword in /nix/store, but it will also be in /etc/passwd
39 # which is already world readable.
40 # printf %s $(mkpasswd -m yescrypt)
41 hashedPassword = lib.readFile aubergine/users/julm/login/hashedPassword.clear;
53 openssh.authorizedKeys.keys = map lib.readFile [
54 ../users/root/ssh/losurdo.pub
55 ../users/julm/ssh/losurdo.pub
56 ../users/julm/ssh/oignon.pub
57 ../users/julm/ssh/pumpkin.pub
58 ../users/julm/ssh/redmi.pub
63 openssh.authorizedKeys.keys = config.users.users.julm.openssh.authorizedKeys.keys;
72 openssh.authorizedKeys.keys = map lib.readFile [
73 ../users/sevy/ssh/patate.pub
78 #systemd.services.nix-daemon.serviceConfig.LoadCredentialEncrypted =
79 # "secret-key-files:" + aubergine/nix/secret-key-files;
82 #secret-key-files = /run/credentials/nix-daemon.service/secret-key-files.pem
86 #"http://nix-localcache.losurdo.wg"
87 #"ssh://nix-ssh@losurdo.wg?priority=30"
88 #"ssh://nix-ssh@oignon.wg?priority=30"
90 trusted-public-keys = map lib.readFile [
91 #../users/root/nix/oignon.pub
92 #../users/root/nix/pumpkin.pub
96 #environment.etc."nixpkgs".source = pkgs.path;
97 #environment.etc."nixpkgs-overlays".source = inputs.self + "/nixpkgs";
99 nix.settings.allowed-users = [ config.users.users."nix-ssh".name ];
102 keys = map lib.readFile [
103 ../users/julm/ssh/losurdo.pub
104 ../users/sevy/ssh/patate.pub
105 ../users/julm/ssh/oignon.pub
106 ../users/julm/ssh/pumpkin.pub
110 environment.systemPackages = [
113 boot.extraModulePackages = [
114 #config.boot.kernelPackages.v4l2loopback
117 # This value determines the NixOS release with which your system is to be
118 # compatible, in order to avoid breaking some software such as database
119 # servers. You should change this only after NixOS release notes say you should.
120 system.stateVersion = "22.11"; # Did you read the comment?