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
17 aubergine/hardware.nix
19 aubergine/networking.nix
20 aubergine/printing.nix
24 aubergine/pixiecore.nix
27 # Lower kernel's security for better performances
28 security.kernel.mitigations = "off";
30 home-manager.users.julm = {
31 imports = [ ../homes/julm.nix ];
37 # Put the hashedPassword in /nix/store, but it will also be in /etc/passwd
38 # which is already world readable.
39 # printf %s $(mkpasswd -m yescrypt)
40 hashedPassword = lib.readFile aubergine/users/julm/login/hashedPassword.clear;
52 openssh.authorizedKeys.keys = map lib.readFile [
53 ../users/root/ssh/losurdo.pub
54 ../users/julm/ssh/losurdo.pub
55 ../users/julm/ssh/oignon.pub
56 ../users/julm/ssh/pumpkin.pub
57 ../users/julm/ssh/redmi.pub
62 openssh.authorizedKeys.keys = config.users.users.julm.openssh.authorizedKeys.keys;
71 openssh.authorizedKeys.keys = map lib.readFile [
72 ../users/sevy/ssh/patate.pub
77 #systemd.services.nix-daemon.serviceConfig.LoadCredentialEncrypted =
78 # "secret-key-files:" + aubergine/nix/secret-key-files;
81 #secret-key-files = /run/credentials/nix-daemon.service/secret-key-files.pem
85 #"http://nix-localcache.losurdo.wg"
86 #"ssh://nix-ssh@losurdo.wg?priority=30"
87 #"ssh://nix-ssh@oignon.wg?priority=30"
89 trusted-public-keys = map lib.readFile [
90 #../users/root/nix/oignon.pub
91 #../users/root/nix/pumpkin.pub
95 #environment.etc."nixpkgs".source = pkgs.path;
96 #environment.etc."nixpkgs-overlays".source = inputs.self + "/nixpkgs";
98 nix.settings.allowed-users = [ config.users.users."nix-ssh".name ];
101 keys = map lib.readFile [
102 ../users/julm/ssh/losurdo.pub
103 ../users/sevy/ssh/patate.pub
104 ../users/julm/ssh/oignon.pub
105 ../users/julm/ssh/pumpkin.pub
109 environment.systemPackages = [
112 boot.extraModulePackages = [
113 #config.boot.kernelPackages.v4l2loopback
116 # This value determines the NixOS release with which your system is to be
117 # compatible, in order to avoid breaking some software such as database
118 # servers. You should change this only after NixOS release notes say you should.
119 system.stateVersion = "22.11"; # Did you read the comment?