This commit is contained in:
2025-08-06 14:26:45 +03:00
parent dbe21be8d9
commit 2dd71c7367
3 changed files with 14 additions and 12 deletions
+3 -1
View File
@@ -1,15 +1,17 @@
{ inputs, ... }@flakeContext:
{
config,
lib,
...
}:
{
imports = with inputs; [
./essentials
./server
./users.nix
./options.nix
./temp.nix
(lib.mkIf (config.xlib.device.type == "server") (import ./server { inherit inputs; }))
#(lib.mkIf (config.xlib.device.type == "server") (import ./server { inherit inputs config lib pkgs ; }))
home-manager.nixosModules.home-manager # home-manager module
nix-index-database.nixosModules.nix-index # nix-index module
+5 -3
View File
@@ -1,8 +1,10 @@
{
config,
lib,
...
}:
{
imports = [
./stirling-pdf.nix
];
config = lib.mkIf (config.xlib.device.type == "server") {
imports = [ ./stirling-pdf.nix ];
};
}
+6 -8
View File
@@ -1,16 +1,14 @@
{
inputs,
config,
lib,
pkgs,
...
}:
let
fix = import inputs.nixpkgs-last-unstable {
system = "x86_64-linux";
config.allowUnfree = true;
}; # temp
in
# let
# fix = import inputs.nixpkgs-last-unstable {
# system = "x86_64-linux";
# config.allowUnfree = true;
# }; # temp
# in
{
services.stirling-pdf = {
enable = true;