<clever>
abueide: does lsmod | grep rt2800usb show anything?
<clever>
abueide: oh, and boot.kernelModules = [ "rt2800usb" ]; wont do anything to install it, all it does is try to load the driver
<clever>
abueide: before we can answer that, we need to know which wifi drivers are missing
<clever>
abueide: and then you can plug that usb stick into a machine that can get internet, change things, and nixos-rebuild
<clever>
abueide: if you have nixos on another machine, you can just format and nixos-install against the usb stick, then youll have a non-live install
<clever>
abueide: it probably needs network access to get network access, it can be a pain to deal with that
<clever>
abueide: and its a livecd, so all changes are lost at shutdown/reboot
<clever>
abueide: the `switch` tells it to apply the changes without rebooting
<clever>
abueide: no
<clever>
fresheyeball: thats only for when the default is a derivation, and you dont want that drv in the documents
<clever>
fresheyeball: it doesnt need a defaultText on that option
<clever>
countingsort: what is it trying to compile?
<clever>
countingsort: then your only choice is to either compile firefox or switch to firefox-bin
<clever>
countingsort: is the cpu 32bit only?
<clever>
countingsort: ahh, 32bit, hydra doesnt pre-compile a 32bit firefox
<clever>
abueide: try to chmod +w the file first
<clever>
abueide: ls -l /etc/nixos/configuration.nix
<clever>
abueide: you can still freely edit /etc/nixos/configuration.nix and nixos-rebuild switch
<clever>
countingsort: and also `nix-info`
<clever>
countingsort: can you pastebin the output of `nix-build '<nixpkgs>' -A firefox --dry-run` ?
<clever>
countingsort: have you changed your version of nixpkgs any?
<clever>
fresheyeball: you can use disabledModules to test out the hoogle.nix changes, before you make that PR
<clever>
fresheyeball: you can also file a PR to nixpkgs to fix hoogle.nix
<clever>
countingsort: what is the content of /etc/nix/nix.conf ?
<clever>
countingsort: the nixos binary cache should provide a pre-compiled copy of firefox
<clever>
fresheyeball: you can then copy that file to /etc/nixos/, edit it however you want, and imports = [ ./hoogle.nix ]; to load the new version
<clever>
fresheyeball: if you use disabledModules correctly, then nixos will just entirely ignore the services/development/hoogle.nix in your channel
<clever>
and all of the hostname.nix's have imports = [ ./core.nix ];
<clever>
d1rewolf_: nixcfg is a git repo, and each machine has its own hostname.nix that acts as an entry point
<clever>
d1rewolf_: what i do, is i put the bare-minimum required to boot into configuration.nix, and then i do imports = [ ./nixcfg/hostname.nix ];
<clever>
d1rewolf_: the only real difference is that nixos-generate-config will silently overwrite one of them
<clever>
d1rewolf_: there is no real difference between the 2 files, they just get merged together automatically
<clever>
d1rewolf_: just put the luks stuff in configuration.nix
<clever>
Myrl-saki: makeBinPath and makeLibPath just pass "bin" or "lib" to makeSearchPath
<clever>
d1rewolf_: you can mount a new disk anywehre you want, and re-run nixos-generate-config to update hardware-configuration.nix to match the new hardware config
<clever>
mightybyte: but if all your doing is nix-build, hydra is a better option
<clever>
mightybyte: it also has support for windows (though we dont use it), so you could get win/linux/mac all on buildkite if you wanted
<clever>
mightybyte: much more control over the build capacity, never stuck in a queue and unable to do anything about it
<clever>
d1rewolf_: you generally need to change the grub settings, and nixos-generate-config is designed to be re-ran again in the future, and it will overwrite hardware-configuration.nix
<clever>
infandum: your override to change things like gdm is breaking things
<clever>
infandum: thats line 52 of glib, not line 52 of configuration.nix
<clever>
infandum: can you pastebin the original error?
<clever>
infandum: and then you can strip the nixpkgs.config from it
<clever>
infandum: you want to put it inside the pkgsConfig
<clever>
infandum: can you also pastebin the error?
<clever>
d1rewolf_: its almost always in services, so /services.tor
<clever>
d1rewolf_: `man configuration.nix`
<clever>
infandum: line 14 makes no sense at all, thats in the let block still
<clever>
d1rewolf_: services only happen when you enable nixos modules, installing things can never create a service
<clever>
and it can edit the same file in several buffers
<clever>
srk: you can :tabe to make a new tab without splits
<clever>
it will need to be added to ~/.vimrc
<clever>
d1rewolf_: just google "vim disable mouse"
<clever>
infandum: can you gist your entire configuration.nix file?
<clever>
its hard to encode that into the dns config
<clever>
and to deal with some subdomains being managed by aws and others not
<clever>
coconnor: i think its more for breaking up the permission models
<clever>
coconnor: one of the more advanced dns setups ive seen (which i have theorized would work) is the dns under iohk.io, it has at least 5 or 6 subdomains, each with its own NS records, pointing to seperate entities within route53, that all behave like seperate self-contained domains
<clever>
yeah
<clever>
bind just uses zone files that almost exactly match the dns protocol and the output from `dig`
<clever>
but as soon as you want something more complex, i can see it getting to be a lot more complex
<clever>
i do see how dnsmasq makes all the fun things "simple"
<clever>
create a .local TLD, and then add some NS records to define what ip handles the cluster.local subdomain
<clever>
for that, you want NS records
<clever>
that tells it to relay the requests to a given server when its from that domain
<clever>
and i have a second file for the reverse dns
<clever>
i have a bad habbit of opening a new window, opening the reddit front page, middle-clicking 20-30 links that look interesting, reading 5, and then never closing it :P
<clever>
tilpner: i also have vimium installed in chrome, if i hit T i can then search all tabs by title
<clever>
tilpner: yes
<clever>
RetardedOnion: 32gig of ram, 32gig of swap, and sometimes it fills both fully
<clever>
it only has problems at startup, once it stabalizes, it runs fine
<clever>
i have 700+ tabs open regularly with normal chromium
<clever>
RetardedOnion: open the chrome task manager and see what is using it all
<clever>
then you can run ./ghcjs-with-lens/bin/ghc to compile ghcjs stuff that needs lens
<clever>
stranger___: i think openjdk needs a pre-compiled javac to bootstrap itself
<clever>
> (import <nixpkgs> { system = "aarch64-linux"; }).openjdk8
<clever>
> (import <nixpkgs> { system = "aarch64-multiplatform"; }).openjdk8
<clever>
stranger___: does openjdk not build on aarch?
<clever>
weird
<clever>
,locate libGL.so
<clever>
stranger___: openjdk is an option
<clever>
TheBrayn: for efi, each os puts its own bootloader into the efi system variables, and then you can select at the firmware level
<clever>
TheBrayn: its in the nixos-rebuild man page, --install-bootloader
<clever>
zclod: what does `sudo nix-channel --list` report?
<clever>
yeah
<clever>
can you pastebin your nix file, and the error?
<clever>
ah
<clever>
zclod: then nix-channel --update has to be ran as root to have an effect
<clever>
zclod: single or multiuser nix?
<clever>
ah
<clever>
,-iA
<clever>
!-iA
<clever>
BennoFnfstck[m]: nix-env -i is also somewhat worse on an rpi
<clever>
samueldr: yeah, i see 2 replies, heh
<clever>
until it has fully downloaded it
<clever>
BennoFnfstck[m]: for each storepath nix downloads, it keeps the entire thing in a single std::string in ram
<clever>
BennoFnfstck[m]: thats when ghc is likely to use the most ram, ah, not sure then
<clever>
*doh*
<clever>
BennoFnfstck[m]: is there anything haskell related in your configuration.nix?
<clever>
i dont remember all of the commands for ofborg
<clever>
stranger___: not sure if it will actually make a difference, since fridh already requested an eval after your last push
<clever>
DeltaEvo: pkgs.stdenv.mkDerivation
<clever>
tilpner: i prefer to just put zfs on everything now
<clever>
DeltaEvo: yep
<clever>
id still expect that to fail though
<clever>
DeltaEvo: oh wait, line 3, systemd-resolve is listening, on 127.0.0.53:53, lol
<clever>
DeltaEvo: edit resolv.conf to use 8.8.8.8 and it should all be fixed
<clever>
DeltaEvo: resolv.conf is configured to use localhost as a dns server, but localhost is not running a dns server, so all dns is broken on that machine
<clever>
DeltaEvo: and as root: `netstat -anp | grep 53`
<clever>
fetchFromGitHub also has a flag to fetch submodules (it will switch to fetchgit behind the scenes)
<clever>
so in theory, the hash of the tar can change, even if the contents of the tar havent
<clever>
ryantm: and i think github is generating the tar dynamically from the git repo
<clever>
ryantm: fetchFromGitHub works on the hash of the contents of the tar, while fetchurl works on the hash of the tar itself
<clever>
archaeron: ah
<clever>
DeltaEvo: can you pastebin the output of: `nix show-derivation /nix/store/rxdndspww2lprbvrwk3ivjrmmkb8cda9-https.patch.drv ; cat /etc/resolv.conf`
<clever>
an empty $NIX_PATH will definitely break things
<clever>
Denommus: what about `nix-instantiate '<nixpkgs>' -A lib.version --eval` ?
<clever>
Denommus: dont see that helping
<clever>
Denommus: your <nixpkgs> in $NIX_PATH may need to point to a newer nixpkgs
<clever>
archaeron: when did you last trying building stack2nix from nix?, it had some changes just 21 hours ago
<clever>
angerman: there are also 2 configurations at play
<clever>
angerman: and optionally, set the defaults in configuration.nix right, and use justdoit to perform the install
<clever>
angerman: just nix-build the tarball, upload it to a machine, unpack to /, run /kexec_nixos, and then ssh back in
<clever>
tilpner: but that relies on the hoster providing a rescue env, while my kexec trick doesnt
<clever>
tilpner: ah, it may have changed since i last looked at it
<clever>
angerman: but my kexec method doesnt have that limit, so your free to zfs it up
<clever>
angerman: i think the hetzner script uses the lustrate option in the initrd, so your forced to use whatever partitioning the hoster gave you
<clever>
archaeron: what methods and what errors did it crash with?
<clever>
angerman: correct, it just installs nixos onto an existing linux machine
<clever>
archaeron: i'm thinking your version of stack2nix is bugged, and isnt including primitive in the generated file, can you try building stack2nix from source?
<clever>
angerman: of note, i have a script to convert almost any linux machine into nixops, as long as you have root and the kernel has kexec enabled
<clever>
archaeron: the scientific package wants primitive
<clever>
archaeron: my stack2nix file is 91,196 lines long, and yours is only 4111!
<clever>
archaeron: thats not huge :P
<clever>
archaeron: i know it is, i read that file on a weekly basis
<clever>
archaeron: can you also gist stack.nix ?
<clever>
archaeron: what about nix-build -A api ?
<clever>
primitive still?
<clever>
archaeron: what is the error?
<clever>
if you give it `.`. then it expects all sources to be inside the nix dir
<clever>
archaeron: also, you want to run `stack2nix .. > stack.nix` inside the `nix` dir
<clever>
archaeron: stackPackages should contain an attribute named after your package
<clever>
archaeron: stack2nix is already generating that for you, in stack.nix
<clever>
archaeron: yeah, and where did app.nix come from?, stack2nix should include your app in stack.nix
<clever>
archaeron: try just `import ./stack.nix {}`
<clever>
the stack.nix shouldnt be ran with haskellPackages.callPackage
<clever>
re-reading things...
<clever>
i think, wait
<clever>
archaeron: so it is trying to load EVERY SINGLE PACKAGE IN STACKAGE
<clever>
archaeron: you didnt tell nix-shell which derivation to load
<clever>
archaeron: can you link your current code on github?
<clever>
etu: self includes all future overlays as well, when there is a list of them
<clever>
you probably just want pkgs.php56
<clever>
Izorkin: why are you doing callPackage <nixpkgs> ?
<clever>
elvishjerricco: theres a bug in one of the hydra versions, that just doesnt allow any IFD
<clever>
the CLI tool may be more flexible in its parsing of the file
<clever>
i just ran `aws configure` and answered its prompts
<clever>
ah
<clever>
how did `aws s3` work then? lol
<clever>
same on this end
<clever>
AWS: [DEBUG] 2018-07-24 09:25:43 Aws::Config::ConfigFileProfileFSM [140549153786816] found access key
<clever>
AWS: [DEBUG] 2018-07-24 09:25:43 Aws::Config::ConfigFileProfileFSM [140549153786816] found profile default
<clever>
elvishjerricco: what kind of ACL does that accesskey have?
<clever>
can you pastebin the output with 5 v's and i can diff things?, feel free to censor out the keyid
<clever>
it will then do a read against 3
<clever>
3 is the file handle for the file it just opened