Domas Tamašauskas

Results 10 comments of Domas Tamašauskas

I'm still new to NixOS, so I don't know how to go about implementing this.. I think I understand what needs to be done: 1. Debian package has to be...

Today I've tried following Nixpkgs documentation: https://nixos.org/manual/nixpkgs/stable/#submitting-changes-making-patches My fork of Nixpkgs: https://github.com/domust/nixpkgs/commit/b92e6875c33b6ff9d217c8cb23be33a0efddad70 I've added the following lines to my `/etc/nixos/configuration.nix`: ```nix nixpkgs.config.allowUnfree = true; environment.systemPackages = with pkgs; [ nordvpn...

I think I have made significant progress today. I needed to define service module, which handles systemd services. My code so far: https://github.com/domust/nixpkgs/commit/1ccd3e1928e89bb313dfbf75eea49c7b1c7c26c0 This article helped tremendously: https://nixos.wiki/wiki/NixOS:extend_NixOS Also, a...

I have made changes according to @chuahou and @aanderse comments. The resulting code is here: https://github.com/domust/nixpkgs/commit/4a0edd7145826d5fdeea6aa60c63c1368b6e03c4 But unlike @chuahou, I'm still unable to run the app and verify my changes....

@chuahou I was under impression that writing service like [this](https://github.com/domust/nixpkgs/commit/4a0edd7145826d5fdeea6aa60c63c1368b6e03c4#diff-99ad26f740c99375ef45986993bb9f50b0c69db63364963ae5c45537752153a4R19) allows to have one line install just like in the docker example above, especially when the software is designed to...

It seems that I've hit this issue: https://github.com/NixOS/nixpkgs/issues/97305 That's why I'm having problems booting the vm and the password seems not to work. Deleting the qcow2 image solves the problem....

I think I know why service is dead: `nordvpnd.service` has hardcoded `ExecStart=/usr/sbin/nordvpnd`. @chuahou Would it be possible to change the value of `ExecStart` to nix store path during `fixupPhase` or...

@jtojnar's solution worked. I was able to run the service, but new problems appeared: 1. Service is not started by default, I've probably missed something in the service configuration. 2....

@thornycrackers if I understand correctly, patching ELF is error prone and due to new path being longer than original, patching would require binary padding. On the other hand, using mount...

@thornycrackers I think I know how to get around problem number 4. https://www.freedesktop.org/software/systemd/man/systemd.exec.html#WorkingDirectory= I have found this in gitea's derivation: https://github.com/NixOS/nixpkgs/blob/release-19.03/nixos/modules/services/misc/gitea.nix#L407 In short, we need a way to manage mutable...