-
-
Save anonymous/e6665ca8cb36915b03357d9e46ffe5f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22:20 <leotaku> ottidmes: I actually like having all of my configuration in one place (configuration.nix) instead of also using other files (eg. ~/.config/nixpkgs/home.nix) for this I use the currently WIP home-manager NixOS module. Would you be interested in looking at something that utilizes this approch? | |
22:20 <phdoerfler> infinisil: ok thanks. With that, my limited nix-fu and by using this: https://www.reddit.com/r/NixOS/comments/4gj8bc/how_to_writing_a_systemd_service/ I should have everything I need hopefully? | |
22:21 <infinisil> phdoerfler: the available options: https://nixos.org/nixos/options.html#systemd.services and what most of them mean can be found in `man systemd.unit` (the PartOf, After, ... stuff) | |
22:21 <phdoerfler> infinisil: sweet! Thank you! I shall not that down | |
22:22 <infinisil> and if you prefer man pages, all nixos options are in `man configuration.nix` | |
22:22 <phdoerfler> oh I had no idea | |
22:22 <phdoerfler> I don't know if you realize but you answer like 70% of all my questions here | |
22:23 <phdoerfler> so kudos to you :) | |
22:23 <gchristensen> !m infinisil | |
22:23 <[0__0]> You're doing good work, infinisil! | |
22:23 <infinisil> haha :) | |
22:23 <phdoerfler> and gchristensen answers another 20% or something like that | |
22:24 <phdoerfler> :p | |
22:25 <ottidmes> leotaku: What does that implicate, does it mean that I would have to do nixos-rebuild to change my home settings? | |
22:27 <ottidmes> infinisil: "Most user-level stuff is not here, as I’m in the process of splitting it in its own repository." Why the split? I have no user stuff yet, but I was planning on keeping it together with my other config stuff, so I would be interested in your reasoning why you would like to separate them | |
22:27 <infinisil> ottidmes: oh, good call, that readme is really old | |
22:28 <infinisil> meanwhile i put it all together | |
22:29 <freeman42x> Sorry, going to have lots of questions :) How can we tell the build proess to use zip for downloading the src? I am getting `do not know how to unpack source archive https://vorboss.dl.sourceforge.net/project/anttweakbar/AntTweakBar_116.zip` | |
22:29 <infinisil> freeman42x: fetchzi | |
22:29 <infinisil> p | |
22:30 <ottidmes> ah ok, I am likely to do this as well, just combine them together, but I do separate my configs on machine level, e.g. my server config does not need to know all the stuff of my desktop | |
22:30 --> leotaku (~leo@213-225-11-243.nat.highway.a1.net) has joined #nixos | |
22:31 <clever> freeman42x: or, just add unzip to the buildInputs | |
22:31 <clever> freeman42x: that lets fetchurl and stdenv unpack it | |
22:31 <freeman42x> infinisil: got an example for that, can't figure it out | |
22:31 <clever> freeman42x: try sticking to fetchurl, and just add unzip to the buildInputs of the derivation using it | |
22:32 <infinisil> ottidmes: i'm using the modules folder for that: modules provide some functionality, and each machine imports the ones it needs | |
22:32 <freeman42x> this is what I currently have: https://paste2.org/w7vFws4z | |
22:32 <phdoerfler> I got another question: How do I set the mail address the cron daemon should send its complaints to? I tried this: https://github.com/NixOS/nixos/blob/master/modules/services/scheduling/cron.nix#L56 but then nixos complained security.setuidOwners was deprecated and I should use security.wrappers instead. But it won't tell me how :p | |
22:33 <phdoerfler> ok I phrased that question badly | |
22:33 <clever> freeman42x: oh, thats not even a fetchurl | |
22:33 <infinisil> ottidmes: and there's profiles for e.g. a desktop, or a server, which bundles more stuff and modules together | |
22:33 <phdoerfler> I know how I set the mail, but how do I make it work? | |
22:33 <freeman42x> I'm also streaming this, if it helps with helping :) https://www.twitch.tv/freeman42x | |
22:33 <clever> freeman42x: start with this: https://github.com/NixOS/nixpkgs/blob/bd8cd3eaed7f2d8da1af1eed62f2ea2966ed3e29/pkgs/applications/misc/hello/default.nix#L6-L9 | |
22:33 <leotaku> oops, I apparently got disconected for some time, I hope I did not miss anything |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment