common nixos module

This commit is contained in:
2025-11-05 16:21:50 +07:00
parent 4259d8014e
commit 13df0a8421
4 changed files with 17 additions and 0 deletions
+1
View File
@@ -45,6 +45,7 @@
./routers
./inventories
./modules/clan/flake-module.nix
./modules/nixos/flake-module.nix
];
}
);
+3
View File
@@ -1,10 +1,13 @@
{
inputs,
config,
self,
...
}:
{
imports = [
self.nixosModules.common
(inputs.import-tree ./services)
(import ../../lib/auto-accept-zerotier-members.nix {
+6
View File
@@ -0,0 +1,6 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
screen
];
}
+7
View File
@@ -0,0 +1,7 @@
{
flake.nixosModules = {
common = {
imports = [ ./common.nix ];
};
};
}