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;
|
||||
|
||||
defaultModules = [
|
||||
({ pkgs, ... }: {
|
||||
({ ... }: {
|
||||
# Let 'nixos-version --json' know about the Git revision
|
||||
system.configurationRevision =
|
||||
if self ? rev
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{ lib, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# User setup
|
||||
{ config, lib, ... }:
|
||||
{ config, ... }:
|
||||
let
|
||||
my = config.my;
|
||||
in
|
||||
|
|
|
@ -6,7 +6,7 @@ let
|
|||
lib.lists.optional
|
||||
(builtins.hasAttr grp config.users.groups)
|
||||
grp;
|
||||
groupsIfExist = grps: builtins.concatMap groupIfExists grps;
|
||||
groupsIfExist = builtins.concatMap groupIfExists;
|
||||
in
|
||||
{
|
||||
users.mutableUsers = false; # I want it to be declarative.
|
||||
|
|
|
@ -70,7 +70,7 @@ in
|
|||
config = lib.mkIf cfg.enable {
|
||||
systemd.services.drone-server = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "postgresql" ];
|
||||
after = [ "postgresql.service" ];
|
||||
serviceConfig = {
|
||||
EnvironmentFile = [
|
||||
cfg.secretFile
|
||||
|
|
Loading…
Reference in a new issue