45 lines
655 B
Nix
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";
|
|
};
|
|
}
|