mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2026-05-07 13:36:24 +00:00
refactor: move common modules to modules/ directory
This commit is contained in:
parent
3abbd61cfa
commit
bf7e249d5b
35 changed files with 67 additions and 63 deletions
|
|
@ -3,13 +3,22 @@
|
|||
{
|
||||
imports = [
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
] ++ (
|
||||
let
|
||||
modulesPath = ./modules;
|
||||
moduleFiles = builtins.attrNames (builtins.readDir modulesPath);
|
||||
in
|
||||
map (module: modulesPath + ("/" + module)) moduleFiles
|
||||
);
|
||||
../../modules/core/filesystem.nix
|
||||
../../modules/core/sops.nix
|
||||
../../modules/services/tailscale.nix
|
||||
../../modules/services/caddy.nix
|
||||
../../modules/services/forgejo.nix
|
||||
../../modules/services/openssh.nix
|
||||
../../modules/services/restic-rest-server.nix
|
||||
../../modules/services/trilium-server.nix
|
||||
../../modules/services/vaultwarden.nix
|
||||
../../modules/services/zipline.nix
|
||||
./modules/boot.nix
|
||||
./modules/network.nix
|
||||
./modules/users.nix
|
||||
./modules/tailscale.nix
|
||||
./modules/services/restic.nix
|
||||
];
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue