initial
This commit is contained in:
39
modules/system/core/default.nix
Normal file
39
modules/system/core/default.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
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;
|
||||
avahi.enable = true;
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
unzip
|
||||
p7zip-rar
|
||||
usbutils
|
||||
lsof
|
||||
python315
|
||||
curlWithGnuTls
|
||||
wget
|
||||
];
|
||||
system.stateVersion = "26.02";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user