Compare commits
No commits in common. "f0c3e71b224d008e8027d5b42180db3c9720fcdb" and "50123c9c0fc5c4e434d6c34df12c17cc09d61cc6" have entirely different histories.
f0c3e71b22
...
50123c9c0f
|
@ -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, ... }:
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# User setup
|
# User setup
|
||||||
{ config, ... }:
|
{ config, lib, ... }:
|
||||||
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 = builtins.concatMap groupIfExists;
|
groupsIfExist = grps: builtins.concatMap groupIfExists grps;
|
||||||
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.service" ];
|
after = [ "postgresql" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
EnvironmentFile = [
|
EnvironmentFile = [
|
||||||
cfg.secretFile
|
cfg.secretFile
|
||||||
|
|
Loading…
Reference in a new issue