Reorganize imports

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-12-21 23:32:29 +02:00
parent 0ae56e6e25
commit 98ce774210
189 changed files with 253 additions and 260 deletions

View File

@@ -8,20 +8,13 @@ NixOS dotfiles and configuration for various hosts and users.
- [`hosts/`](./hosts): All host-specific configurations.
- [`common/`](./hosts/common): Shared configuration definitions.
- [`system/`](./hosts/common/system): System-level configurations and scripts.
- [`configs/`](./hosts/common/system/configs): System configurations applicable to all hosts.
- [`scripts/`](./hosts/common/system/scripts): Utility scripts, such as `nix-cleanup`.
- [`shells/`](./hosts/common/system/shells): Nix dev shells.
- [`user/`](./hosts/common/user): Per-user options.
- [`configs/`](./hosts/common/user/configs): User configurations, split into:
- [`console/`](./hosts/common/user/configs/console): Console-related settings.
- [`gui/`](./hosts/common/user/configs/gui): GUI-related settings.
- [`scripts/`](./hosts/common/user/scripts): User-specific scripts and utilities.
- [`shells/`](./hosts/common/shells): Nix dev shells.
- [`configs/`](./hosts/common/configs): System configurations applicable to all hosts.
- [`system/`](./hosts/common/configs/system): System-level configurations and scripts.
- [`user/`](./hosts/common/configs/user): Per-user options.
- [`console/`](./hosts/common/configs/user/console): Console-related settings.
- [`gui/`](./hosts/common/configs/user/gui): GUI-related settings.
- `<name>/`: Individual host configurations.
- `scripts/`: Host-specific scripts.
- `secrets/`: Host-specific secrets, such as `machineId`.
- `users/`: User-specific settings for the host.
- `format.nix`: Disk layout definition using [`disko`](https://github.com/nix-community/disko).
- `secrets/<namespace>/`: Global secrets for individual namespaces that apply across all hosts.

View File

@@ -101,10 +101,10 @@
in
{
devShells = {
bun = import ./hosts/common/system/shells/bun { inherit pkgs; };
nix = import ./hosts/common/system/shells/nix { inherit pkgs; };
nodejs = import ./hosts/common/system/shells/nodejs { inherit pkgs; };
python = import ./hosts/common/system/shells/python { inherit pkgs; };
bun = import ./hosts/common/shells/bun { inherit pkgs; };
nix = import ./hosts/common/shells/nix { inherit pkgs; };
nodejs = import ./hosts/common/shells/nodejs { inherit pkgs; };
python = import ./hosts/common/shells/python { inherit pkgs; };
};
formatter = pkgs.nixfmt-rfc-style;

Some files were not shown because too many files have changed in this diff Show More