14 Sep 2021 |
| CornWallace changed their display name from Fauci's Fine Wines to Corn Wallet. | 21:35:28 |
15 Sep 2021 |
mbprtpmnr | I have an Linode NixOS machine up an running, can I use NixOps to manage it? | 17:24:23 |
16 Sep 2021 |
| CornWallace changed their display name from Corn Wallet to CornWallace. | 01:56:20 |
Linux 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 |
Linux Hackerman | Set deployment.targetEnv = "none"; and deployment.targetHost to the DNS name or IP address of the machine | 05:58:50 |
mbprtpmnr | Thanks a ton! :) | 06:17:01 |
mbprtpmnr | Also, I think I can put this on my flake.nix ... | 06:20:14 |
Robert 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 |
Robert 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 values | 16:46:06 |
Robert 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/34 | 16:46:49 |
Robert Hensing (roberth) | it's a bit hacky, but I intend to upstream this functionality at some point, so it can be supported in nixops proper | 16:48:21 |
Robert 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 v2 | 16:50:39 |
17 Sep 2021 |
| pinecamp joined the room. | 02:26:59 |
eyJhb | 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 | @eyJhb: https://github.com/NixOS/nixpkgs/pull/98952 | 10:24:53 |
eyJhb | So my nixpkgs lib is newer than the one in nixus, which has a new option thingy ? | 10:27:50 |
eyJhb | infinisil: should nixus nixpkgs.nix then be updated? Seems to fix the issue. | 10:33:10 |
infinisil | eyJhb: Yeah probably | 10:53:00 |
infinisil | I should revisit that PR, this should be fixable in a better way | 10:53:26 |
eyJhb | infinisil: should I make a PR to bump it? | 10:54:51 |
infinisil | eyJhb: Feel free to :) | 10:55:12 |
eyJhb | infinisil: open - https://github.com/Infinisil/nixus/pull/39 :D | 11:19:02 |
eyJhb | (bumped the example as well) | 11:21:34 |
| rafaelsgirao joined the room. | 16:54:17 |
CRTified | 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 |
CRTified | 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 | you would use the "import` keyword to bring in the files you need. "imports" is an attribute used for NixOS modules. | 22:49:53 |
CRTified | Okay, that's probably then related to https://github.com/NixOS/nixops/issues/1292 | 22:50:10 |
CRTified | But I can't just drop in an import somewhere in that file and expect it to work, correct? | 22:50:30 |
tomberek | no | 22:50:33 |