38 lines
510 B
Nix
38 lines
510 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;
|
|
environment.systemPackages = with pkgs; [
|
|
vim
|
|
unzip
|
|
p7zip-rar
|
|
usbutils
|
|
lsof
|
|
gvfs
|
|
libnotify
|
|
python315
|
|
curlWithGnuTls
|
|
wget
|
|
];
|
|
};
|
|
}
|