update model to modular structure

This commit is contained in:
2026-02-22 06:17:06 +01:00
parent 9e1725a408
commit c800117125
6 changed files with 30 additions and 20 deletions

View File

@@ -9,8 +9,6 @@
[ # Include the results of the hardware scan.
./hardware-configuration.nix
./cron-schedule.nix
./desktop-environment.nix
./terminal-environment.nix
./home-manager.nix
];

View File

@@ -5,7 +5,6 @@
services.cron = {
enable = true;
systemCronJobs = [
"0 0 * * * root reboot"
];
};

View File

@@ -1,26 +1,12 @@
{ config, pkgs, lib, ... }:
let
home-manager = builtins.fetchTarball https://github.com/nix-community/home-manager/archive/release-25.11.tar.gz;
in
{
imports =
[
(import "${home-manager}/nixos")
./home/hypr/hyprland.nix
./desktop-environment/config.nix
./terminal-environment/config.nix
./system-environment/config.nix
];
users.users.nichkara.isNormalUser = true;
home-manager.users.nichkara = { pkgs, ... }: {
home.packages = [ pkgs.atool pkgs.httpie ];
home.username = "nichkara";
home.homeDirectory = "/home/nichkara";
programs.zsh.enable = true;
programs.home-manager.enable = true;
# The state version is required and should stay at the version you
# originally installed.
home.stateVersion = "25.11";
};
home-manager.backupFileExtension = "backup";
}

View File

@@ -0,0 +1,27 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
# Make systems
gnumake
cmake
cmakeCurses
# C/C++/Fortran tools
gcc
clang
# Common C based dependencies
eigen
# Ada/+Spark & Rust tools
alire
gnat
rustc
cargo
];
environment.variables = {
};
}