[Nix-dev] GNOME 3.18 is the default

2016-01-13 Thread Luca Bruno
Right now the gnome3 package set defaults to 3.18. It's been a long time we had gnome 3.18, and given the recent unstable releases it was a good time to switch. However, many apps are not working as expected compared to 3.16. Examples of broken apps are bijiben, gnome-maps, gnome-screenshot, ...

Re: [Nix-dev] Best way to store strong passwords in nix configuration file

2016-01-13 Thread Guillaume Maudoux (Layus)
I am not sure I understand your issue. On my side, I have |$ cat test.nix rec { a = "ETrai_5{h'aG,MQ"; b = "${a}${a}"; } $ nix-instantiate --eval --strict test.nix { a = "ETrai_5{h'aG,MQ"; b = "ETrai_5{h'aG,MQETrai_5{h'aG,MQ"; } | Could it just happen that you forgot a semicolon at the end of

Re: [Nix-dev] How to get correct length of a string containing non-ascii characters

2016-01-13 Thread zimbatm
Related to that, the suckless conferent talk on UTF-8[1] was pretty interesting. The complexity of Unicode and all that goes with it is pretty crazy. That being said the libutf8 from the same guys seem to be pretty decent and takes sane defaults to a lot of these questions. [1]

[Nix-dev] User and group ID ranges

2016-01-13 Thread Christian Kauhaus
Hi, we are currently in the process of configuring users and groups with fixed UID/GID numbers from a central directory on a bunch of NixOS machines. I'd like to clarify some policy issues to avoid future ID conflicts. The current policy, as far as I understand it, is: * Fixed UIDs/GIDs are in

Re: [Nix-dev] How to get correct length of a string containing non-ascii characters

2016-01-13 Thread Erik Rybakken
To anyone interested in this discussion, you may want to follow the issue here: https://github.com/NixOS/nix/issues/770 There I wrote the reason I want this functionality. The main reason is that I want to do as much as possible in Nix, instead of pushing stuff to a building script. Best, Erik

Re: [Nix-dev] nixops box deployment via kvm-libvirtd

2016-01-13 Thread rohit yadav
The problem still persist. - I tried directly launching img file with qemu, and keyboard responds if keyboard layout is specified. So, I am assuming it to be some VNC issue. I still dunno know how to specify this to virsh or virt-manager. - The networking issue still persists. I suspect it to be

Re: [Nix-dev] nixops box deployment via kvm-libvirtd

2016-01-13 Thread rohit yadav
Hi Domen, Thanks. I rebuilt the configuration with following option networking.firewall.reversePath = false; and used nixopsUnstable and it works fine now. Thanks, Rohit On Wed, Jan 13, 2016 at 1:03 PM, rohit yadav wrote: > ​It return the following. I am on IRC

Re: [Nix-dev] nixops box deployment via kvm-libvirtd

2016-01-13 Thread Domen Kožar
Are you on IRC? #nixos will be faster. What's the output of: $ virsh -c qemu:///system net-dhcp-leases --network default On Wed, Jan 13, 2016 at 7:44 PM, rohit yadav wrote: > nixops 1.3.1pre1673_a0d5681 > > On Wed, Jan 13, 2016 at 12:39 PM, Domen Kožar

Re: [Nix-dev] nixops box deployment via kvm-libvirtd

2016-01-13 Thread rohit yadav
​It return the following. I am on IRC #nixos channel with name "rowhit" [image: Inline image 1] On Wed, Jan 13, 2016 at 12:50 PM, Domen Kožar wrote: > Are you on IRC? #nixos will be faster. > > What's the output of: $ virsh -c qemu:///system net-dhcp-leases --network > default >

Re: [Nix-dev] nixops box deployment via kvm-libvirtd

2016-01-13 Thread rohit yadav
nixops 1.3.1pre1673_a0d5681 On Wed, Jan 13, 2016 at 12:39 PM, Domen Kožar wrote: > Can you run: $ nixops --version > > On Wed, Jan 13, 2016 at 7:12 PM, rohit yadav > wrote: > >> The problem still persist. >> >> - I tried directly launching img file with

Re: [Nix-dev] nixops box deployment via kvm-libvirtd

2016-01-13 Thread Domen Kožar
Can you run: $ nixops --version On Wed, Jan 13, 2016 at 7:12 PM, rohit yadav wrote: > The problem still persist. > > - I tried directly launching img file with qemu, and keyboard responds if > keyboard layout is specified. So, I am assuming it to be some VNC issue. I >

Re: [Nix-dev] dist-upgrade? define channel declaratively?

2016-01-13 Thread Matthew O'Gorman
Matthew O'Gorman writes: Also this did not work for me as I defined my container in my configuration.nix so when I try to do the nix-rebuild switch --upgrade it fails as there is not a configuration.nix in the container. My nixos files are located here

[Nix-dev] matplotlib not found by python

2016-01-13 Thread Andrew Fraser
Hi, Last month, I asked for help as I built the nix package system and installed it in a non-standard location. Thanks for that help. Once I understand nix a little better, I hope to modify the wiki page about installing nix in a home directory and answer a few questions others have asked. I

Re: [Nix-dev] matplotlib not found by python

2016-01-13 Thread Bjørn Forsman
On 14 January 2016 at 06:27, Andrew Fraser wrote: > [...] > I write today to ask for help getting matplotlib running. > > Here is the list of packages that I've installed: > > krunk@cathcart:~$ nix-env -q > emacs-24.5 > emacs-auctex-11.87.7 >

Re: [Nix-dev] dist-upgrade? define channel declaratively?

2016-01-13 Thread Domen Kožar
http://nixos.org/nixos/manual/index.html#sec-upgrading On Wed, Jan 13, 2016 at 10:40 PM, Matthew O'Gorman wrote: > Hi > > I started playing with nixos-containers and have been very pleased so > far. I wanted to try running unstable in one, but haven't been able to > figure out

Re: [Nix-dev] dist-upgrade? define channel declaratively?

2016-01-13 Thread Matthew O'Gorman
Domen Kožar writes: > http://nixos.org/nixos/manual/index.html#sec-upgrading > Thank you for the quick reply. So it is not possible to do this in the config files? I have to use nix-channel? I noticed this issue doubly because my container didn't upgrade when my core nixos

[Nix-dev] dist-upgrade? define channel declaratively?

2016-01-13 Thread Matthew O'Gorman
Hi I started playing with nixos-containers and have been very pleased so far. I wanted to try running unstable in one, but haven't been able to figure out how to do so. I tried setting these in my configuration of the container system.stateVersion = "unstable"; system.defaultChannel =

Re: [Nix-dev] Best way to store strong passwords in nix configuration file

2016-01-13 Thread 4levels
Hi Markus, Guillaume and Fabian first of all, thank you all for your productive replies! I have resorted for now to use passwords without any special and unicode characters (as that might have been the actual issue here). Moving the password to different files seems a bit difficult as I need them

Re: [Nix-dev] Best way to store strong passwords in nix configuration file

2016-01-13 Thread Fabian Schmitthenner
Hi Erik, besides " and \ also ${ needs to be escaped as written in the manual (https://nixos.org/nix/manual/ Section 15.1). Fabian On 01/12/2016 03:48 PM, 4levels wrote: > Hi Nix Devs, > > I'm really struggling to get strong passwords correctly parsed in my nix > configuration files. I keep