mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-10 20:20:41 +03:00
123
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./stirling-pdf.nix
|
||||
];
|
||||
config = lib.mkIf (config.xlib.device.type == "server") {
|
||||
imports = [ ./stirling-pdf.nix ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user