feat: minor modules updates

This commit is contained in:
Nickolaj Jepsen 2026-01-20 23:55:02 +01:00
parent 1a899dc894
commit 89cefcd610
7 changed files with 17 additions and 10 deletions

View file

@ -2,6 +2,7 @@
options.fireproof.base.defaults = {
terminal = lib.mkOption {
type = lib.types.str;
default = "ghostty";
description = "The terminal to use";
};
};

View file

@ -8,6 +8,8 @@
type = lib.types.str;
description = "The primary username for the machine";
};
work.enable = lib.mkEnableOption "Enable work-related applications and tools";
dev.enable = lib.mkEnableOption "Enable development tools and applications";
hardware = {
battery = lib.mkOption {
type = lib.types.bool;

View file

@ -8,4 +8,5 @@ _: {
};
nix.settings.auto-optimise-store = true;
nix.optimise.automatic = true;
}

View file

@ -1,4 +1,4 @@
{config, ...}: {
{config, pkgs, ...}: {
nixpkgs.config.allowUnfree = true;
nix.settings = {
@ -8,7 +8,9 @@
config.fireproof.username
];
experimental-features = "nix-command flakes";
experimental-features = ["nix-command" "flakes"];
warn-dirty = false;
substituters = [
"https://nix-community.cachix.org"
"https://install.determinate.systems"
@ -19,4 +21,7 @@
"cache.flakehub.com-3:hJuILl5sVK4iKm86JzgdXW12Y2Hwd5G07qKtHTOcDCM="
];
};
# Make 'nix repl' have all the nixpkgs available
environment.systemPackages = [pkgs.nixpkgs-fmt];
}