mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
feat: minor modules updates
This commit is contained in:
parent
1a899dc894
commit
89cefcd610
7 changed files with 17 additions and 10 deletions
|
|
@ -2,6 +2,7 @@
|
|||
options.fireproof.base.defaults = {
|
||||
terminal = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "ghostty";
|
||||
description = "The terminal to use";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -8,4 +8,5 @@ _: {
|
|||
};
|
||||
|
||||
nix.settings.auto-optimise-store = true;
|
||||
nix.optimise.automatic = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue