summaryrefslogtreecommitdiff
path: root/Com/Simatime/buildOS.nix
AgeCommit message (Collapse)Author
2020-04-04Get prod up and running againBen Sima
Hopefully this will be the last time I need to do this!
2020-04-03Add wemux to the dev machineBen Sima
I also had to refactor the overlays stuff a bit, but it is much nicer now.
2020-04-03Rename Serval to ProdBen Sima
2020-04-02Reorganize and comment some of the nix codeBen Sima
2020-03-30Add nix service declaration for que.runBen Sima
I'm using serval.simatime.com as a catch-all production app server for now. The 'que.run' domain is pointed at that instance, and the service is just installed as a regular NixOS systemd service. I had to do some troubleshooting because I wasn't getting any DNS names to resolve. I think changing the nameservers fixed it. Don't know why the 127 number was in there. Another issue concerns how to add our packages to the set of nixpkgs in the generated NixOS. I played around with this for a while and landed on using an overlay to put our set of packages under 'pkgs.biz.<name>', and then passing that in to the 'buildOS' function. This isn't really the best solution because it is confusing and rather disconnected. I'm starting to realize that it might be good to separate nix artifacts into "machines" and "programs", but I don't want to do that just yet. I'd like to finish designing my bild program before making any large design decisions or re-organizations.
2020-03-29Bump nixpkgs pinBen Sima
2019-11-11Disable auto-upgradeBen Sima
This was causing the system to revert once per day.
2019-11-08disable tinc for nowBen Sima
2019-11-08only make the vpnExtraConfig if enableVpnBen Sima
2019-11-08make sure to open the firewallBen Sima
2019-11-08format the motdBen Sima
2019-11-08Turn off mutable usersBen Sima
2019-11-06add a common buildOS function with preliminary vpnBen Sima