fix-bepasty #13
@@ -3,7 +3,9 @@
|
|||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
disko.url = "github:nix-community/disko";
|
disko.url = "github:nix-community/disko";
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
# nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||||
|
# Waiting on https://github.com/NixOS/nixpkgs/pull/500538
|
||||||
|
nixpkgs.url = "github:msyds/nixpkgs/fix-bepasty";
|
||||||
impermanence.url = "github:nix-community/impermanence";
|
impermanence.url = "github:nix-community/impermanence";
|
||||||
home-manager.url = "github:nix-community/home-manager";
|
home-manager.url = "github:nix-community/home-manager";
|
||||||
sops-nix.url = "github:Mic92/sops-nix";
|
sops-nix.url = "github:Mic92/sops-nix";
|
||||||
|
|||||||
@@ -1,12 +1,10 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
let cfg = config.sydnix.deertopia.bepasty;
|
let cfg = config.sydnix.deertopia.bepasty;
|
||||||
in {
|
in {
|
||||||
options = {
|
options = {
|
||||||
sydnix.deertopia.bepasty = {
|
sydnix.deertopia.bepasty = {
|
||||||
enable = mkEnableOption "Bepasty";
|
enable = lib.mkEnableOption "Bepasty";
|
||||||
|
|
||||||
port = lib.mkOption {
|
port = lib.mkOption {
|
||||||
default = 22018;
|
default = 22018;
|
||||||
@@ -19,7 +17,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
sydnix.sops.secrets.bepasty-secret-key = {};
|
sydnix.sops.secrets.bepasty-secret-key = {};
|
||||||
sydnix.sops.secrets.bepasty-secret-config = {};
|
sydnix.sops.secrets.bepasty-secret-config = {};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user