Files
nixos.server/modules/system/core/default.nix
2026-07-29 21:06:59 +01:00

45 lines
655 B
Nix

{
self,
inputs,
...
}: {
flake.nixosModules.core = {
pkgs,
lib,
...
}: let
modules = with self.nixosModules; [
user
bootloader
nix
locale
];
in {
imports =
[
# /etc/nixos/hardware-configuration.nix
]
++ 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";
};
}