Merge remote-tracking branch 'gum/master'
This commit is contained in:
commit
69a1de787e
makefu
1systems/x
2configs
|
@ -12,7 +12,6 @@ with import <stockholm/lib>;
|
|||
<stockholm/makefu/2configs/main-laptop.nix>
|
||||
<stockholm/makefu/2configs/extra-fonts.nix>
|
||||
<stockholm/makefu/2configs/tools/all.nix>
|
||||
<stockholm/makefu/2configs/tools/mic92.nix>
|
||||
|
||||
<stockholm/makefu/2configs/laptop-backup.nix>
|
||||
# <stockholm/makefu/2configs/dnscrypt/client.nix>
|
||||
|
|
|
@ -2,12 +2,13 @@
|
|||
with import <stockholm/lib>;
|
||||
let
|
||||
shack-announce = pkgs.callPackage (builtins.fetchTarball {
|
||||
url = "https://github.com/makefu/events-publisher/archive/4cef900ba10348050208367af6b2035f5a0ef8b6.tar.gz";
|
||||
sha256 = "137vsibr289p3xxlw37xhizi309sygki95919hmj02dxgwmy1k74";
|
||||
url = "https://github.com/makefu/events-publisher/archive/c5218195e6afdc646cb7682d8f355a7ec2b90716.tar.gz";
|
||||
sha256 = "0xk74q7gah3l5zy3bkvih3k9fr1hclvf71rm3ixcmslhicl7khav";
|
||||
}) {} ;
|
||||
home = "/var/lib/shackannounce";
|
||||
user = "shackannounce";
|
||||
creds = (toString <secrets>) + "/shack-announce.json";
|
||||
LOL = "DEBUG";
|
||||
in
|
||||
{
|
||||
users.users.${user}= {
|
||||
|
@ -32,14 +33,14 @@ in
|
|||
if test ! -e announce.state; then
|
||||
echo "initializing state"
|
||||
announce-daemon \
|
||||
--lol INFO \
|
||||
--lol ${LOL} \
|
||||
--creds creds.json \
|
||||
--state announce.state \
|
||||
--clean --init
|
||||
fi
|
||||
echo "Running announce"
|
||||
announce-daemon \
|
||||
--lol INFO \
|
||||
--lol ${LOL} \
|
||||
--creds creds.json \
|
||||
--state announce.state
|
||||
'';
|
||||
|
|
3
makefu/2configs/gui/xpra.nix
Normal file
3
makefu/2configs/gui/xpra.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
services.xserver.displayManager.xpra.enable = true;
|
||||
}
|
10
makefu/2configs/pyload.nix
Normal file
10
makefu/2configs/pyload.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{pkgs, ... }:
|
||||
{
|
||||
nixpkgs.config.unfreeRedistributable = true;
|
||||
users.users.makefu.packages = with pkgs;[
|
||||
pyload
|
||||
spidermonkey
|
||||
tesseract
|
||||
];
|
||||
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
(import <mic92/nixos/overlays/mypackages>)
|
||||
];
|
||||
users.users.makefu.packages = [
|
||||
pkgs.nix-review
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue