!BgJZHVOYkwVcEKLAyM:nixos.org

NixOS Deployments

1136 Members
NixOS Deployment tooling291 Servers

Load older messages


SenderMessageTime
14 Sep 2021
@cw:kernelpanic.cafeCornWallace changed their display name from Fauci's Fine Wines to Corn Wallet.21:35:28
15 Sep 2021
@mbprtpmnr:matrix.orgmbprtpmnrI have an Linode NixOS machine up an running, can I use NixOps to manage it?17:24:23
16 Sep 2021
@cw:kernelpanic.cafeCornWallace changed their display name from Corn Wallet to CornWallace.01:56:20
@linus.heckemann:matrix.mayflower.deLinux Hackerman
In reply to @mbprtpmnr:matrix.org
I have an Linode NixOS machine up an running, can I use NixOps to manage it?
Yes
05:57:08
@linus.heckemann:matrix.mayflower.deLinux HackermanSet deployment.targetEnv = "none"; and deployment.targetHost to the DNS name or IP address of the machine05:58:50
@mbprtpmnr:matrix.orgmbprtpmnrThanks a ton! :)06:17:01
@mbprtpmnr:matrix.orgmbprtpmnr Also, I think I can put this on my flake.nix... 06:20:14
@roberthensing:matrix.orgRobert Hensing (roberth)
In reply to @edwlan:m.edw.ai
Also, is there any way to load up a nixops config in the repl to explore it?
this is not supported as part of nixops, but you can use hercules-ci-effects to access these via nix repl because it pre-builds in pure Nix and exposes the relevant attributes https://docs.hercules-ci.com/hercules-ci-effects/reference/nix-functions/runnixops/#return-value
16:44:59
@roberthensing:matrix.orgRobert Hensing (roberth)the pre-building does not use the state file, in order to be pure. This may limit its utility if you're heavily dependent on resource values16:46:06
@roberthensing:matrix.orgRobert Hensing (roberth)you can also use it with NixOps 2 which is (of course) still experimental https://github.com/hercules-ci/hercules-ci-effects/pull/3416:46:49
@roberthensing:matrix.orgRobert Hensing (roberth)it's a bit hacky, but I intend to upstream this functionality at some point, so it can be supported in nixops proper16:48:21
@roberthensing:matrix.orgRobert Hensing (roberth)things is, it's not easy to get things merged into nixops rn, so I'd rather have the maintainers focus on more important prs that work towards a viable release of v216:50:39
17 Sep 2021
@pinecamp:matrix.orgpinecamp joined the room.02:26:59
@eyjhb:eyjhb.dkeyJhb

infinisil: building the example in Nixus gives

error: attribute 'deprecationMessage' missing, at /nix/store/n7knsc9fmc36y3k3xd939dnyy3nfidw4-source/lib/modules.nix:508:12
(use '--show-trace' to show detailed location information)

Unsure what the issue is.

10:22:33
@infinisil:matrix.orginfinisil@eyJhb: https://github.com/NixOS/nixpkgs/pull/9895210:24:53
@eyjhb:eyjhb.dkeyJhbSo my nixpkgs lib is newer than the one in nixus, which has a new option thingy ?10:27:50
@eyjhb:eyjhb.dkeyJhb infinisil: should nixus nixpkgs.nix then be updated? Seems to fix the issue. 10:33:10
@infinisil:matrix.orginfinisil eyJhb: Yeah probably 10:53:00
@infinisil:matrix.orginfinisilI should revisit that PR, this should be fixable in a better way10:53:26
@eyjhb:eyjhb.dkeyJhb infinisil: should I make a PR to bump it? 10:54:51
@infinisil:matrix.orginfinisil eyJhb: Feel free to :) 10:55:12
@eyjhb:eyjhb.dkeyJhb infinisil: open - https://github.com/Infinisil/nixus/pull/39 :D 11:19:02
@eyjhb:eyjhb.dkeyJhb(bumped the example as well)11:21:34
@rafaelsgirao:matrix.orgrafaelsgirao joined the room.16:54:17
@schnecfk:ruhr-uni-bochum.deCRTified Is there a way to use the nixops 2.0 network.storage.memory backend with multiple files to separate physical attributes like deployment.targetHost from other config values? 22:37:24
@schnecfk:ruhr-uni-bochum.deCRTified Using nixops create/nixops modify obviously won't work, but as one of the files is autogenerated, I don't want to manually merge it. A top level imports = [ ./foo.nix ./bar.nix ]; in the nixops.nix also doesn't work 22:38:29
@tomberek:matrix.orgtomberekyou would use the "import` keyword to bring in the files you need. "imports" is an attribute used for NixOS modules.22:49:53
@schnecfk:ruhr-uni-bochum.deCRTifiedOkay, that's probably then related to https://github.com/NixOS/nixops/issues/129222:50:10
@schnecfk:ruhr-uni-bochum.deCRTified But I can't just drop in an import somewhere in that file and expect it to work, correct? 22:50:30
@tomberek:matrix.orgtomberekno22:50:33

There are no newer messages yet.


Back to Room ListRoom Version: 6