chore(tools): Add nixos-compose and expose default config

This commit is contained in:
DashieTM 2025-09-07 21:34:28 +02:00
parent a2adc26e58
commit 55b55f7133
4 changed files with 10 additions and 3 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
result/*
result
flake.lock

View file

@ -4,13 +4,13 @@
# variables for system
conf = {
# TODO your username
username = "YOURNAME";
username = "exampleName";
# TODO only needed when you use intel -> amd is default
# cpu = "intel";
# TODO your xkb layout
locale = "something.UTF-8";
locale = "en_US.UTF-8";
# TODO your timezone
timezone = "CONTINENT/CITY";
timezone = "Europe/Zurich";
};
# modules

View file

@ -51,6 +51,8 @@
# absolute insanity
chaoticNyx.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
compose.url = "github:garnix-io/nixos-compose";
};
outputs = {self, ...} @ inputs: let
@ -113,5 +115,6 @@
unstablePkgs = unstable;
modules = ./modules;
iso = dashNixLib.buildIso.config.system.build.isoImage;
nixosConfigurations = dashNixLib.buildSystems {root = ./example/.;};
};
}

View file

@ -4,6 +4,8 @@
config,
pkgs,
options,
inputs,
system,
...
}: let
font_family = "${config.mods.stylix.fonts.monospace.name}";
@ -511,6 +513,7 @@ in {
d-spy
tmux
tmate
inputs.compose.packages.${system}.default
];
in
lib.mkIf config.mods.coding.enable (