initial dendritic migration

This commit is contained in:
Semere Meharena Mebrahtom 2026-07-18 19:21:16 +02:00
parent 86fe70288b
commit 168633cf07
Signed by: semere
GPG key ID: 7FC937214DF30488
12 changed files with 254 additions and 147 deletions

36
modules/core.nix Normal file
View file

@ -0,0 +1,36 @@
{ config, lib, pkgs, ... }:
let
cfg = config.dotfiles.core;
in
{
options.dotfiles.core = {
enable = lib.mkEnableOption "Core system configuration";
};
config = lib.mkIf cfg.enable {
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
time.timeZone = "Europe/Berlin";
networking.networkmanager.enable = true;
services.power-profiles-daemon.enable = true;
nix = {
settings = {
experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true;
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
};
system.stateVersion = "26.05";
};
}