Files
nixos.server/modules/system/core/default.nix

43 lines
578 B
Nix

{
self,
inputs,
...
}: {
flake.nixosModules.core = {
pkgs,
lib,
...
}: let
modules = with self.nixosModules; [
user
bootloader
nix
locale
];
in {
imports = modules;
services = {
openssh = {
enable = true;
settings = {
PermitRootLogin = "yes";
};
};
};
environment.systemPackages = with pkgs; [
vim
unzip
p7zip-rar
usbutils
lsof
python315
curlWithGnuTls
wget
];
system.stateVersion = "26.02";
};
}