Compare commits

..

No commits in common. "f0c3e71b224d008e8027d5b42180db3c9720fcdb" and "50123c9c0fc5c4e434d6c34df12c17cc09d61cc6" have entirely different histories.

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, ... }: { lib, pkgs, ... }:
with lib; with lib;
let let

View file

@ -1,5 +1,5 @@
# User setup # User setup
{ config, ... }: { config, lib, ... }:
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 = 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.

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.service" ]; after = [ "postgresql" ];
serviceConfig = { serviceConfig = {
EnvironmentFile = [ EnvironmentFile = [
cfg.secretFile cfg.secretFile