Compare commits

..

5 commits

5 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -1,4 +1,4 @@
{ lib, pkgs, ... }: { lib, ... }:
with lib; with lib;
let let

View file

@ -1,5 +1,5 @@
# User setup # User setup
{ config, lib, ... }: { config, ... }:
let let
my = config.my; my = config.my;
in in

View file

@ -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.

View file

@ -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