Compare commits
2 Commits
5ba80a058f
...
c7bfedf54c
Author | SHA1 | Date | |
---|---|---|---|
c7bfedf54c | |||
dd4e018dcd |
@ -111,8 +111,7 @@ in
|
|||||||
|
|
||||||
server = lib.nixosSystem { # Desktop profile
|
server = lib.nixosSystem { # Desktop profile
|
||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = { inherit inputs userserver location nixos-hardware nur agenix; };
|
specialArgs = { inherit inputs user location nixos-hardware nur agenix; };
|
||||||
user = userserver;
|
|
||||||
modules = [
|
modules = [
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
nur.nixosModules.nur
|
nur.nixosModules.nur
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
# └─ default.nix
|
# └─ default.nix
|
||||||
#
|
#
|
||||||
|
|
||||||
{ config, pkgs, user, ... }:
|
{ config, pkgs, user, agenix, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = # For now, if applying to other system, swap files
|
imports = # For now, if applying to other system, swap files
|
||||||
|
@ -1,15 +1,16 @@
|
|||||||
{ microvm, nixpkgs, user, ... }:
|
{ microvm, nixpkgs, user, agenix, ... }:
|
||||||
let
|
let
|
||||||
name = "gitea";
|
name = "gitea-runner";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
microvm = {
|
microvm = {
|
||||||
# autostart = [
|
autostart = [
|
||||||
# "gitea-runnervm"
|
"gitea-runnervm"
|
||||||
# ];
|
];
|
||||||
vms = {
|
vms = {
|
||||||
${name} = {
|
${name} = {
|
||||||
|
|
||||||
|
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
@ -18,7 +19,7 @@ in
|
|||||||
config = {
|
config = {
|
||||||
imports = [( ./gitea_runner.nix )];
|
imports = [( ./gitea_runner.nix )];
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "${name}-runner";
|
hostName = "${name}";
|
||||||
|
|
||||||
firewall = {
|
firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
hostName = "cloud.kabtop.de";
|
hostName = "cloud.kabtop.de";
|
||||||
https = true;
|
https = true;
|
||||||
package = pkgs.nextcloud27;
|
package = pkgs.nextcloud27;
|
||||||
enableBrokenCiphersForSSE = false;
|
|
||||||
database.createLocally = false;
|
database.createLocally = false;
|
||||||
logType = "file";
|
logType = "file";
|
||||||
caching = {
|
caching = {
|
||||||
|
Loading…
Reference in New Issue
Block a user