mirror of
https://github.com/divnix/digga.git
synced 2024-11-23 20:22:04 +03:00
flake: move modules to outputs
This commit is contained in:
parent
ac5e184666
commit
cd25fdf37c
@ -21,6 +21,8 @@
|
||||
pkgs = import ./pkgs;
|
||||
in
|
||||
[ pkgs ];
|
||||
|
||||
nixosModules = import ./modules;
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -6,6 +6,10 @@ let
|
||||
recImport
|
||||
;
|
||||
|
||||
inherit (builtins)
|
||||
attrValues
|
||||
;
|
||||
|
||||
|
||||
config = self:
|
||||
nixpkgs.lib.nixosSystem rec {
|
||||
@ -27,7 +31,7 @@ let
|
||||
|
||||
local = import "${toString ./.}/${self}.nix";
|
||||
in
|
||||
[
|
||||
attrValues flake.nixosModules ++ [
|
||||
core
|
||||
global
|
||||
local
|
||||
|
3
modules/default.nix
Normal file
3
modules/default.nix
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
qbittorrent-nox = import ./services/torrent/qbittorrent.nix;
|
||||
}
|
@ -4,8 +4,6 @@ let
|
||||
inherit (lib) mkAfter;
|
||||
in
|
||||
{
|
||||
imports = [ ../../modules/services/torrent/qbittorrent.nix ];
|
||||
|
||||
services.qbittorrent = {
|
||||
enable = true;
|
||||
group = "media";
|
||||
|
Loading…
Reference in New Issue
Block a user