Compare commits
5 commits
50123c9c0f
...
f0c3e71b22
Author | SHA1 | Date | |
---|---|---|---|
Bruno BELANYI | f0c3e71b22 | ||
Bruno BELANYI | af1332fa89 | ||
Bruno BELANYI | 56212a0c9e | ||
Bruno BELANYI | dec8bd4e81 | ||
Bruno BELANYI | e062cbe45d |
|
@ -14,7 +14,7 @@
|
||||||
inherit (futils.lib) eachDefaultSystem;
|
inherit (futils.lib) eachDefaultSystem;
|
||||||
|
|
||||||
defaultModules = [
|
defaultModules = [
|
||||||
({ pkgs, ... }: {
|
({ ... }: {
|
||||||
# Let 'nixos-version --json' know about the Git revision
|
# Let 'nixos-version --json' know about the Git revision
|
||||||
system.configurationRevision =
|
system.configurationRevision =
|
||||||
if self ? rev
|
if self ? rev
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, pkgs, ... }:
|
{ lib, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# User setup
|
# User setup
|
||||||
{ config, lib, ... }:
|
{ config, ... }:
|
||||||
let
|
let
|
||||||
my = config.my;
|
my = config.my;
|
||||||
in
|
in
|
||||||
|
|
|
@ -6,7 +6,7 @@ let
|
||||||
lib.lists.optional
|
lib.lists.optional
|
||||||
(builtins.hasAttr grp config.users.groups)
|
(builtins.hasAttr grp config.users.groups)
|
||||||
grp;
|
grp;
|
||||||
groupsIfExist = grps: builtins.concatMap groupIfExists grps;
|
groupsIfExist = builtins.concatMap groupIfExists;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
users.mutableUsers = false; # I want it to be declarative.
|
users.mutableUsers = false; # I want it to be declarative.
|
||||||
|
|
|
@ -70,7 +70,7 @@ in
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
systemd.services.drone-server = {
|
systemd.services.drone-server = {
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
after = [ "postgresql" ];
|
after = [ "postgresql.service" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
EnvironmentFile = [
|
EnvironmentFile = [
|
||||||
cfg.secretFile
|
cfg.secretFile
|
||||||
|
|
Loading…
Reference in a new issue