40 lines
904 B
Nix
40 lines
904 B
Nix
{
|
|
imports = [
|
|
/etc/nixos/roles/desktop.nix
|
|
|
|
/etc/nixos/modules/security.nix
|
|
/etc/nixos/modules/nix.nix
|
|
/etc/nixos/modules/tailscale.nix
|
|
/etc/nixos/modules/ssl.nix
|
|
|
|
./hardware-configuration.nix
|
|
./users.nix
|
|
./gnome.nix
|
|
];
|
|
|
|
nix.nixPath = [
|
|
"nixos-config=/etc/nixos/machines/memere/default.nix"
|
|
"nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos"
|
|
"/nix/var/nix/profiles/per-user/root/channels"
|
|
];
|
|
|
|
services.openssh.enable = true;
|
|
services.openssh.listenAddresses = [
|
|
{
|
|
addr = "100.99.144.4";
|
|
port = 22;
|
|
}
|
|
];
|
|
services.openssh.settings.PermitRootLogin = "yes";
|
|
|
|
networking.hostName = "pepere";
|
|
networking.networkmanager.enable = true;
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.efiSysMountPoint = "/boot";
|
|
|
|
i18n.defaultLocale = "fr_FR.UTF-8";
|
|
|
|
# Do not change
|
|
system.stateVersion = "26.05";
|
|
}
|