nzbr / nixos Goto Github PK
View Code? Open in Web Editor NEWMy NixOS System configurations
My NixOS System configurations
Hey there, first of all: thank you for making this stuff accessible. Have you thought about contributing some of your packages to the official repos?
Since the dataset options are meant to be optional, I am assuming you were meaning to implement this config as optional by defaulting to null
.
However, if I don't specify service.urbackup.dataset.images
and service.urbackup.dataset.files
, the activation of my config fails with one of these two error messages:
error: The option `environment.etc."urbackup/dataset".source' is used but not defined.
error: The option `environment.etc."urbackup/dataset_file".source' is used but not defined.
Specifying an empty string for both attributes makes the error go away, without specifying any config I do not actually want.
I am trying to set up your urbackup server module, which currently looks like this:
# flake.nix
{
description = "xieve's nixos flake";
inputs = {
nixpkgs = {
url = "github:NixOS/nixpkgs/nixos-unstable";
};
nzbr = {
url = "github:nzbr/nixos";
};
};
outputs = { self, nixpkgs, nzbr }@attrs: {
nixosConfigurations = {
thegreatbelow = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = attrs; # Pass inputs to modules
modules = [
nzbr.nixosModules."service/urbackup.nix"
./thegreatbelow.nix
];
};
};
};
}
# thegreatbelow.nix
{ config, pkgs, nzbr, ... }:
{
# [...]
nzbr.service.urbackup = {
enable = true;
backupfolder = "/mnt/user/urbackup/";
config = {
LOGFILE = "/mnt/user/appdata/binhex-urbackup/urbackup/log/urbackup.log";
};
package = nzbr.packages.x86_64-linux.urbackup2-server;
dataset.images = ""; # WORKAROUND HERE
dataset.files = ""; # WORKAROUND HERE
};
fileSystems."/var/urbackup" = {
device = "/mnt/user/appdata/binhex-urbackup/urbackup";
fsType = "none";
options = [ "bind" ];
};
# [...]
}
I am moving away from a docker-based setup, but before I move all my files, I want to get this thing running as a proof of concept. These backups are not extremely critical, I am comfortable with "fuck around, find out".
I do not have a proposed solution for this, because I am not too sure myself what the best way to resolve this would be. I am very new to Nix.
This is the best nix configuration repo I've seen. Please consider removing it from the internet, you're making the rest of us look bad.
Thanks.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/on_iso.yml
actions/checkout v4
actions/upload-artifact v4
.github/workflows/on_main.yml
.github/workflows/on_pull_request.yml
.github/workflows/run_build_default_hosts.yml
actions/checkout v4
flake.nix
nixpkgs nixos-24.05
module/container/gitlab.nix
module/kubernetes/keycloak/default.nix
module/kubernetes/n8n.nix
module/kubernetes/openldap.nix
module/kubernetes/pingcheck.nix
module/kubernetes/plausible.nix
clickhouse/clickhouse-server 24.6.3.64-alpine
plausible/analytics v2.0
module/kubernetes/vaultwarden.nix
vaultwarden/server 1.31.0-alpine
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.