Files
nixos/modules/system/core/default.nix
2026-09-26 17:25:23 +01:00

41 lines
664 B
Nix

{self, ...}: {
flake.nixosModules.core = {pkgs, ...}: let
modules = with self.nixosModules; [
user
bootloader
nix
hardware
locale
];
in {
imports =
[
/etc/nixos/hardware-configuration.nix
]
++ modules;
services = {
openssh = {
enable = true;
settings = {
PermitRootLogin = "yes";
};
};
avahi.enable = true;
};
environment.systemPackages = with pkgs; [
vim
unzip
p7zip-rar
usbutils
lsof
gvfs
libnotify
python315
curlWithGnuTls
wget
];
system.stateVersion = "25.05";
};
}