mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 12:40:44 +03:00
cleaning
This commit is contained in:
@@ -39,7 +39,6 @@ let
|
|||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
xlib,
|
xlib,
|
||||||
deviceType,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
@@ -47,12 +46,9 @@ let
|
|||||||
./essentials
|
./essentials
|
||||||
./users.nix
|
./users.nix
|
||||||
./options.nix
|
./options.nix
|
||||||
(./. + "/${deviceType}") # specific modules
|
|
||||||
|
|
||||||
home-manager.nixosModules.home-manager # home-manager module
|
|
||||||
sops-nix.nixosModules.sops # sops module
|
|
||||||
self.homeConfigurations.default.nixosModule # default homeConfigurations
|
|
||||||
disko.nixosModules.disko # disko module
|
disko.nixosModules.disko # disko module
|
||||||
|
sops-nix.nixosModules.sops # sops module
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
|
|||||||
@@ -106,16 +106,6 @@
|
|||||||
default = "/mnt/services";
|
default = "/mnt/services";
|
||||||
description = "All services folder.";
|
description = "All services folder.";
|
||||||
};
|
};
|
||||||
immich-folder = lib.mkOption {
|
|
||||||
type = lib.types.str;
|
|
||||||
default = "${config.xlib.dirs.server-home}/Services/immich";
|
|
||||||
description = "Immich service folder.";
|
|
||||||
};
|
|
||||||
nextcloud-folder = lib.mkOption {
|
|
||||||
type = lib.types.str;
|
|
||||||
default = "${config.xlib.dirs.server-home}/Services/nextcloud";
|
|
||||||
description = "Nextcloud service folder.";
|
|
||||||
};
|
|
||||||
postgresql-folder = lib.mkOption {
|
postgresql-folder = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
default = "${config.xlib.dirs.server-home}/Services/postgresql";
|
default = "${config.xlib.dirs.server-home}/Services/postgresql";
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../software/beets
|
../software/beets
|
||||||
../services/node-red.nix
|
./node-red.nix
|
||||||
./uptime-kuma.nix
|
./uptime-kuma.nix
|
||||||
./calibre-web.nix
|
./calibre-web.nix
|
||||||
./immich.nix
|
./immich.nix
|
||||||
|
|||||||
@@ -7,10 +7,6 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
stable = import inputs.nixpkgs-stable {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
config.allowUnfree = true;
|
|
||||||
};
|
|
||||||
work = import inputs.nixpkgs-stable {
|
work = import inputs.nixpkgs-stable {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
|
|||||||
@@ -16,6 +16,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"z ${xlib.dirs.services-mnt-folder}/node-red 0750 node-red node-red -"
|
"z ${config.services.node-red.userDir} 0750 node-red node-red -"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user