refactor: move from den based to flake-parts based
This commit is contained in:
@@ -1,19 +1,14 @@
|
||||
{ den, ... }:
|
||||
{
|
||||
lux.qbittorrent-client = {
|
||||
includes = [
|
||||
(den.lib.perHost {
|
||||
nixos.networking.firewall = {
|
||||
allowedTCPPorts = [ 43864 ];
|
||||
allowedUDPPorts = [ 43864 ];
|
||||
};
|
||||
})
|
||||
];
|
||||
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [ pkgs.qbittorrent ];
|
||||
};
|
||||
flake.modules.nixos.qbittorrentClient = {
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [ 43864 ];
|
||||
allowedUDPPorts = [ 43864 ];
|
||||
};
|
||||
};
|
||||
|
||||
flake.modules.homeManager.qbittorrentClient =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [ pkgs.qbittorrent ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user