Skip to content

u/patrl

In this archive from Jul 2016 to Jan 2020

2
posts
85
comments
2
media
442
score

I can’t say enough positive things about nix and NixOS in general! The learning curve is initially pretty steep, but imo you just can’t beat having a reproducible system, and everything just feels very ‘clean’. Updates do very rarely break something but the nature of nix makes rolling back to a previous system generation extremely straightforward.

If you’re interested, i’d recommended starting out by trying the nix package manager on a standard distribution - it’s very simple to use nix as an ordinary user with, e.g. arch without polluting your system. It’s a really nice tool for creating ad hoc development environments via nix-shell. If you want more, you can then consider checking out NixOS :)

2 points

thanks for the heads up! yeah, I felt a bit uneasy about this, but ultimately my email is in a ton of places anyway, so I decided it was ok.

A nice solution would be to have nix read the key identifier from a text file outside of vc :-)

2 points

After spending WAY too long hobbling along with WSL2 on a new laptop, finally took the time to (re-)setup NixOS over the weekend. It's still a little sloppy...

  • wallpaper: here
  • wm: bspwm
  • bar: polybar (obv)
  • reader: zathura
  • term: alacritty

Dots are managed declaratively via home-manager. Still a little dirty, but can be found here for now.

5 points

Very nice, and refreshing to see a setup that strips out the bar. Do you miss it? Is there anything you use in particular to replace it, or just htop etc.?

Oh, and you should check out zathura. It can be used as a frontend for mupdf with vim-style keybindings.

2 points

Lovely stuff. One fun thing you can do, which is pretty popular amongst emacs users, is to refactor your dotemacs in a literate programming style, using org-mode with babel. Here is my old emacs config as a big .org file. The elisp is interspersed with explanatory prose, and babel automatically pulls the code and puts it in the right place. These days I'm a happy spacemacs user, and I highly recommend it, but there are times that I seriously miss tweaking my dotemacs. Have fun!

3 points

There's a few things you could fiddle with:

  • Install and use a font from the infinality repo. You can find a list of the packages here.

  • Play around with your `/etc/X11/xinit/xinitrc.d/xft-settings.sh. I use the following, which works well on my monitor:

    xft.antialias: 1 xft.autohint: 0 xft.dpi: 96 xft.hinting: 1 xft.hintstyle: hintfull xft.lcdfilter: lcddefault xft.rgba: rgb

  • Finally, you can copy /usr/share/doc/freetype2-infinality-ultimate/infinality-settings.sh to /etc/X11/xinit/xinitrc.d/infinality-settings.sh, and change the infinality rendering style. I'm using ultimate5, which is a dark MacOS-esque rendering style.

1 points

Don't panic, your Windows partition is still there and should be bootable, it's just not being shown by the bootloader. This is normal and expected. Boot into Manjaro, login as as a user and run sudo os-prober. Install the package os-prober first if the command doesn't work.

P.s. this is orthogonal, but it's probably not a good idea to install what is essentially Arch Linux with some padding if you're uncomfortable with partitioning and managing grub. You're going to keep running into problems you can't fix.

EDIT: could you please also post the output of sudo parted /dev/sda print? I want to make sure you didn't accidentally wipe out Windows :-p

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.