<clever>
and i can even see a 400mhz difference between 2 cores
<clever>
cpu MHz : 3412.972
<clever>
cpu MHz : 3844.199
<clever>
vodurden: but despite it claiming to not have a cpufreq driver, the freqs in `grep MHz /proc/cpuinfo` change on their own
<clever>
no or unknown cpufreq driver is active on this CPU
<clever>
[root@amd-nixos:~]# cpufreq-info
<clever>
fx-8350
<clever>
amd cpu
<clever>
windows on the same hardware definitely seems broken, it cant get over 60c at max load
<clever>
vodurden: i also dont have any control over freq scaling, but it does seem to be doing some on its own internally
<clever>
vodurden: mine would thermal shutdown around 85c
<clever>
vodurden: i have since discovered that windows uses far less power at max load, but linux power usage matches the specs on the cpu, so windows is technically the broken one
<clever>
vodurden: ah, that reminds me, i was having thermal shutdown troubles on my amd fx-8350
<clever>
inquisitiv3: i use a hostname.nix style, and then configuration.nix is basically just 1 line, imports = [ ./nixos-configs/hostname.nix ];
<clever>
inquisitiv3: i dont see any issues with running git as root, but the name configuration.nix will conflict when you add more hosts
<clever>
Dedalo: yeah, once you have the root mounted, then you can copy the config
<clever>
Dedalo: youll also want to copy /etc/wpa_supplicant.conf to /mnt/etc/wpa_supplicant.conf and also networking.wireless.enable = true; when installing, then it will continue to work after installing
<clever>
for wep and unencrypted, you can use iwconfig bare
<clever>
Dedalo: its the only way to connect to wpa networks
<clever>
shapr: nope
<clever>
ive had the fun of using wpa_supplicant for the first time, with no wifi access to look up how the heck it works :P
<clever>
:D
<clever>
i only used raw wpa_cli and never installed a gui for it
<clever>
probably, i just never bothered to bind it to any gui
<clever>
and obviously, linux doesnt support that 3rd position out of the box
<clever>
MichaelRaskin: but the spring for the momentary position would make it snap back hard enough to pass the detent and sometimes switch itself off :P
<clever>
MichaelRaskin: one of my older laptops had a physical switch with 3 positions, off, on, and a momentary position to open the wifi GUI
<clever>
yep
<clever>
Dedalo: also try the rfkill command
<clever>
use the physical switch or fn key to turn it on
<clever>
Dedalo: your wifi is disabled with the rfkill switch
<clever>
in a different shell
<clever>
Dedalo: ip link set wlp2s0 up
<clever>
Dedalo: what about scan?
<clever>
`wpa_cli -i wlp3s0` in my case
<clever>
Dedalo: you need to use -i to get the non-p2p one
<clever>
Dedalo: at the top level, outside the network blocks
<clever>
Dedalo: add that to /etc/wpa_supplicant.conf and then restart the service again
<clever>
it will also configure nix to understand that, so the above error wont happen
<clever>
leotaku: if you clone this repo, add the relative path of qemu.nix to your imports, and set qemu-user.aarch64 = true;, then your machine can magically run aarch64 binaries
<clever>
try a nix-channel --update, but you may need unstable
<clever>
fresheyeball: nix-channel --list
<clever>
nix-env -iA nixos.brightnessctl
<clever>
fresheyeball: what about running brightnessctl as root?
<clever>
fresheyeball: do the fn keys on the keyboard work?
<clever>
selfsymmetric-mu: you need to remove automake from systemPackages, and instead use nix-shell
<clever>
,library
<clever>
selfsymmetric-mu: that says that automake must be in the build inputs, not the system packages
<clever>
selfsymmetric-mu: why do you need automake installed to install pdf-tools?
<clever>
selfsymmetric-mu: why do you have automake in systemPackages?
<clever>
sigtrm: fire up wireshark on the ssh client, set it to capture port 22, and then try a single ssh, then stop capture and screenshot the packet listing
<clever>
nope, but there was a chance you already had it
<clever>
sigtrm: does `ls -l /nix/store/*/bin/tcpdump` find any copies?
<clever>
sigtrm: from the nixos machine, run `tcpdump -i eth0 -p -n port 22`, it should have very little output, then try to ssh into it once, and pastebin the output tcpdump made
<clever>
does it get any response back?
<clever>
sigtrm: run this on the nixos machine: arping -D 192.168.10.126 -I eth0
<clever>
sigtrm: and what is the name of the ethernet interface?
<clever>
sigtrm: what is the IP on the problem nixos machine?
<clever>
sigtrm: is that over ipv4 or ipv6?
<clever>
sigtrm: having the error would help debug it a lot better
<clever>
sigtrm: you have also not yet given the exact error the ssh client gives when failing
<clever>
sigtrm: so you can just do a rollback to an exact build, without having to know how it was made
<clever>
sigtrm: nixos also keeps the fully build copies of nixos as GC roots, in /nix/var/nix/profiles/system-*
<clever>
sigtrm: thats why i try to keep it in a git repo, and also use zfs snapshots to archive it more often
<clever>
sigtrm: correct
<clever>
sigtrm: yeah
<clever>
yorick: using netboot_server.nix you can just PXE boot every machine with a minimal disposable nix store that it keeps in ram
<clever>
why not use a central binary cache instead? or nfs if you must share
<clever>
and nix expects certain global locks to work when dealing with db.sqlite and related things
<clever>
every other machine promptly falls over :P
<clever>
"oh, nobody is using that, delete!"
<clever>
yorick: and the instant you start to shadow that with variants, garbage collection will become a pain in the ass
<clever>
yorick: the profiles will cause a lot of problems, since each system wants its own view of what /nix/var/nix/profiles/system points to
<clever>
zfs will refuse to open it until you use force, and then its your own fault
<clever>
ext4 may treat it as an improper shutdown, and then 2 writers will start to shred your disk
<clever>
yorick: but it can also accidentally happen if your using something like iscsi to mount a drive, and you forget to umount it at another machine
<clever>
yorick: a few filesystems support it, but need a seperate connection to a locking server to coordinate things
<clever>
elvishjerricco: it will only import a pool that was last imported by the same hostid (an improper or clean shutdown, and not in use), or that has been cleanly `zpool export`ed (clearly not in use)
<clever>
elvishjerricco: ZFS uses the hostid to detect if the given block device is in-use by another host, over a shared block device
<clever>
dhess: yep
<clever>
bigvalen: when using the autosnapshot option, it cleans them up automatically
<clever>
so your going out of your way to not ping me :P
<clever>
my irc client only triggers if you start the msg with my nick
<clever>
kalbasit[m]: oh, you also want to use self.callPackage in there, not import
<clever>
and it will recursively search imports as it does so
<clever>
nixos will read all modules, merge the return value of every module, and create a single config set
<clever>
grp: as soon as you try to read config, it no longer works by itself in nix repl, and you must load it via nixos
<clever>
grp: and to view them in nix repl, use `nix repl '<nixpkgs/nixos>'` then try to eval config or options
<clever>
grp: and you can just do { lib, ... }: or { config, lib, ... }: in most of those files, no need to import nixpkgs
<clever>
grp: you want config.testvar
<clever>
more parens!
<clever>
not a list
<clever>
map is a builtin
<clever>
kalbasit[m]: line 6&7, you ran listToAttrs on map
<clever>
grp: can you pastebin all related files?
<clever>
if your in a normal nix file, then thats simply a list of paths called imports, and it does nothing special
<clever>
grp: and only if you are inside a nixos module
<clever>
grp: imports will store all of the results into the config tree
<clever>
no nix files where created!
<clever>
dhess: it disables version checks on tasty, then loads serokell-util.cabal from the current dir, and drops me into a shell containing a ghci + ghc, that have all that serokell-util wanted
<clever>
dhess: this is something i had tossed together a month ago
<clever>
benzrf: Cabal2nix might already do that (not to be confused with cabal2nix)
<clever>
and now you have 2 copies of the src
<clever>
but it would have to be a service you enable, and the fetch function has to still work without it
<clever>
and since its not in the sandbox, it just keeps running
<clever>
dhess: however, you can talk to localhost from the derivation, you could hijack an already-running torrent client
<clever>
dhess: your entire bloodline must die!! :P
<clever>
dhess: and it cant fork into the background, nix uses the uid to murder every single child you leave behind :P
<clever>
and when you return, nix kills all proccesses
<clever>
dhess: note that if you try to seed, nix wont consider the download done until you return
<clever>
a couple of months ago i needed to scale up some relay clusters, and it took only ~10-20 mins to make the changes, and then deploy another 80 machines
<clever>
neonfuz: it will just generate a docker image that contains the full closure of the given derivations, and you can then pipe it into `docker load`