refactor(nixos:nixarr): move nixarr module to ooksmedia/modules
This commit is contained in:
parent
3fc02285d3
commit
3ccb3b740a
5 changed files with 11 additions and 3 deletions
|
|
@ -7,6 +7,7 @@ in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
./modules
|
||||||
];
|
];
|
||||||
|
|
||||||
ooknet.host = {
|
ooknet.host = {
|
||||||
|
|
|
||||||
5
hosts/ooksmedia/modules/default.nix
Normal file
5
hosts/ooksmedia/modules/default.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./nixarr.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, inputs, lib, ... }:
|
{ config, lib, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) mkIf;
|
inherit (lib) mkIf;
|
||||||
|
|
@ -7,9 +7,10 @@ let
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ inputs.nixarr.nixosModules.default ];
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
nixarr = {
|
nixarr = {
|
||||||
|
vpn.enable = false;
|
||||||
|
openssh.expose.vpn.enable = false;
|
||||||
enable = true;
|
enable = true;
|
||||||
mediaDir = "/jellyfin";
|
mediaDir = "/jellyfin";
|
||||||
stateDir = "/var/lib/nixarr";
|
stateDir = "/var/lib/nixarr";
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
./dbus.nix
|
./dbus.nix
|
||||||
./gnome.nix
|
./gnome.nix
|
||||||
./gvfs.nix
|
./gvfs.nix
|
||||||
# ./nixarr.nix
|
|
||||||
./flatpak.nix
|
./flatpak.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ let
|
||||||
inherit (inputs.nixpkgs.lib) nixosSystem;
|
inherit (inputs.nixpkgs.lib) nixosSystem;
|
||||||
|
|
||||||
hm = inputs.home-manager.nixosModules.home-manager;
|
hm = inputs.home-manager.nixosModules.home-manager;
|
||||||
|
nixarr = inputs.nixarr.nixosModules.default;
|
||||||
|
|
||||||
nixosModules = "${self}/nixos";
|
nixosModules = "${self}/nixos";
|
||||||
hosts = "${self}/hosts";
|
hosts = "${self}/hosts";
|
||||||
|
|
@ -38,6 +39,7 @@ in
|
||||||
"${hosts}/ooksmedia"
|
"${hosts}/ooksmedia"
|
||||||
hm
|
hm
|
||||||
nixosModules
|
nixosModules
|
||||||
|
nixarr
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
ooksmicro = nixosSystem {
|
ooksmicro = nixosSystem {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue