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

43 lines
625 B
Nix

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