1
0
Fork 0

Update from master 2023-08-13T13:00+00:00

This commit is contained in:
clerie 2023-08-13 15:00:10 +02:00
commit bae0b90d10
7 changed files with 38 additions and 0 deletions

View File

@ -4,6 +4,7 @@
imports = [
./fonts.nix
./gnome.nix
./networking.nix
./power.nix
./printing.nix
./xserver.nix

View File

@ -0,0 +1,10 @@
{ ... }:
{
networking.networkmanager.extraConfig = ''
[connectivity]
uri=http://ping.clerie.de/nm-check.txt
'';
}

View File

@ -94,6 +94,7 @@
anycast_healthchecker
flask-excel
iot-data
nixfiles-updated-inputs
pyexcel-xlsx
pyexcel-webio
uptimestatus

View File

@ -16,6 +16,8 @@
tio
xournalpp
onlyoffice-bin
krita
];
services.syncthing = {

10
pkgs/nixfiles/default.nix Normal file
View File

@ -0,0 +1,10 @@
{ pkgs, ... }:
pkgs.writeShellApplication {
name = "nixfiles-updated-inputs.sh";
text = builtins.readFile ./nixfiles-updated-inputs.sh;
runtimeInputs = [
pkgs.git
];
}

View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail
NOW="$(date --utc --iso-8601=minutes)"
git fetch origin master
git checkout updated-inputs
git merge -s ort -X theirs origin/master -m "Update from master ${NOW}"
nix flake update
git add flake.lock
git commit -m "Flake update ${NOW}" || true
git push origin updated-inputs

View File

@ -2,6 +2,7 @@ self: super: {
anycast_healthchecker = self.python3.pkgs.callPackage ./anycast_healthchecker {};
flask-excel = self.python3.pkgs.callPackage ./flask-excel {};
iot-data = self.python3.pkgs.callPackage ./iot-data {};
nixfiles-updated-inputs = self.callPackage ./nixfiles {};
pyexcel-xlsx = self.python3.pkgs.callPackage ./pyexcel-xlsx {};
pyexcel-webio = self.python3.pkgs.callPackage ./pyexcel-webio {};
uptimestatus = self.python3.pkgs.callPackage ./uptimestatus {};