1 { config, pkgs, lib, inputs, hostName, ... }:
4 ../nixos/profiles/graphical.nix
5 ../nixos/profiles/lang-fr.nix
6 ../nixos/profiles/printing.nix
12 # Lower kernel's security for better performances
13 boot.kernelParams = [ "mitigations=off" ];
15 home-manager.users.mo = {
16 imports = [ ../homes/mo.nix ];
18 systemd.services.home-manager-mo.postStart = ''
19 ${pkgs.nix}/bin/nix-env --delete-generations +1 --profile /nix/var/nix/profiles/per-user/mo/home-manager
22 openssh.authorizedKeys.keys = map lib.readFile [
23 ../users/julm/ssh/oignon.pub
24 ../users/julm/ssh/losurdo.pub
30 # Put the hashedPassword in /nix/store,
31 # though /etc/shadow is not world readable...
32 # printf %s $(mkpasswd -m yescrypt)
33 hashedPassword = lib.readFile courge/users/mo/login/hashedPassword.clear;
39 #"plugdev" # For rtl-sdr
45 #config.services.davfs2.davGroup
48 # If created, zfs-mount.service would require:
49 # zfs set overlay=yes ${hostName}/home
51 openssh.authorizedKeys.keys = map lib.readFile [
52 ../users/julm/ssh/oignon.pub
53 ../users/julm/ssh/losurdo.pub
57 environment.systemPackages = [
58 #pkgs.riseup-vpn # Can't be installed by home-manager because it needs to install policy-kit rules
61 boot.extraModulePackages = [
64 #programs.fuse.userAllowOther = true;
71 defaultSession = "gnome";
73 user = config.users.users.mo.name;
78 # This value determines the NixOS release with which your system is to be
79 # compatible, in order to avoid breaking some software such as database
80 # servers. You should change this only after NixOS release notes say you should.
81 system.stateVersion = "23.05"; # Did you read the comment?