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

45 lines
723 B
Nix

{
self,
inputs,
...
}: {
flake.nixosModules.core = {
pkgs,
lib,
...
}: let
modules = with self.nixosModules; [
user
bootloader
nix
overlays
hardware
locale
nix-ld
];
in {
imports =
[
/etc/nixos/hardware-configuration.nix
]
++ modules;
services = {
openssh.enable = true;
avahi.enable = true;
};
environment.systemPackages = with pkgs; [
# neovim is provided by the nvim feature module (programs.neovim.enable).
unzip
p7zip-rar
usbutils
lsof
gvfs
libnotify
python313
curlWithGnuTls
wget
];
system.stateVersion = "26.05";
};
}