30 lines
556 B
Nix
30 lines
556 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
dirModules = config.features.modules.core or { };
|
|
in
|
|
{
|
|
config = lib.mkIf ((dirModules.enable or false) && (dirModules.common.enable or true)) {
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
nix.settings.experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
|
|
users.defaultUserShell = pkgs.zsh;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
chromium
|
|
gnumake
|
|
jetbrains-toolbox
|
|
fastfetch
|
|
jq
|
|
];
|
|
|
|
security.rtkit.enable = true;
|
|
|
|
system.stateVersion = "25.11";
|
|
};
|
|
}
|