For all the #sops#nix enjoyers out there, Where do you keep your #AGE key? Does it just live on your drive? Do you use something like a #yubikey? Because boot strapping the key with sops obviously doesn't work
Probably start with your current distro together with #HomeManager first. That should bring you early feedback if at least the config concept is something for you.
#NixOS update after sleeping for one month on host floyd (lenovo x260) takes 1 hour and 15 minutes (despite new 2TB SSD). During that, the device is almost non-responsive for anything else.
Host jackson (with even a slightly larger setup) probably would need 5-10 minutes maximum (lenovo t490). (I do weekly updates there.)
Didn't had that update "performance" while using Xubuntu LTS before. 🤔
Does anyone know what might keep (re-)creating ~/.config/xdg-terminals.list and ~/.config/none+i3-xdg-terminals.list on my NixOS machine? They keep getting created whenever I log into my account, and I'm trying to get 100% of that directory to be managed by Home-Manager.
A Google search tells me that it's part of xdg-terminal-exec, but I don't have that enabled. Why would this be created automatically, and by what?
it offers the right level of abstraction & functionality I expect
it's more or less stable so I don't have to get used to different things every couple of months/years
With my latest #NixOS adventure & the Wayland situation, I'm thinking of switching over to #KDE because it has Wayland support and https://github.com/pjones/plasma-manager might actually offer the possibility to fully(?) configure KDE from #HomeManager.
#Github project from #Nix is encouraging to close stale issues although the issue still persists. However, nobody did seem to work on it within 3 months.
Although I understand that there needs to be some process of handling long-running issues that don´t get fixed, I'm not sure if this is a good thing. 🤔
For those using #nix and perhaps #HomeManager and curious about the #Rust written #uutils, you can simply install them as a replacement for the GNU (or BSD/darwin) tools using:
Really miss the #homemanager util on #guix
where i could just manage all my dotfiles with it in $HOME and could just give the #nix profile path in bash in init , I had nearly nothing in /root/.config* and never cared about whether to source .profile or .bash-profile based on how i append my list of pkgs in home.comfiguration ( fwiw source the former when you append with specification / (output?) in scm) .
Case in point after a couple of baffled days , i now realize that my #nyxt config had no error ( how could it , it was working just fine elsewhere) , its just that it was fetching it config from * , while i had it in ~/.config/nyxt
Quick and dirty way was to just copy the latter to the former path of finding the config
similarly emacs-pkg were listed in config.scm, but they could only be found by $USER and not $ROOT
yes nix exprs need not eval below a minimum version , bit that s not my immediate concern
Switched my #Nix installation on #macOS from the original installer to the one by @determinatesystems. Since that one disables channels in favor of flakes by default, I also took the opportunity to use Nix more properly instead of just running nix-env -i when needed :'-)
Ended up looking at #nixDarwin, #HomeManager and #Fleek. To a complete newb like me the differences where rather hard to grasp
nix-darwin tries to replicate the feel of #NixOS on macOS – something I couldn't comprehend since I never ran NixOS. More generally though, in NixOS, Nix is used to manage the whole OS (duh) and defines the system-wide installed/configured packages/environment. As such, nix-darwin replicates this style of providing a system environment on macOS.
home-manager shifts this concept to a per-user basis. The configuration system is quite similar, just per-user.
#Fleek is a Go tool to generate home-manager configurations from YAML.
Now, you can also install home-manager as a nix-darwin (on macOS) or NixOS (on... NixOS) module, which allows upgrades of the homes through the system wide Nix upgrade process.
Another drama-free and boring #NixOS upgrade. Boring, reliable software is the best!
I switched my daily driver to NixOS 2.5 years ago and let it auto upgrade. I've upgraded the same laptop since installing 21.05. The only thing I need to keep tidy is my $HOME, and for much of that, I have a #homemanager .
I find the most liberating aspect to NixOS is the ability to modify the system without fear -- there's no prior hidden state changes to reason or worry about, and you can generally roll back to the prior generation on boot if you really screw something up.
XDG_DATA_HOME="/home/hm-user/.local/share"
XDG_CONFIG_HOME="/home/hm-user/.config"
XDG_CACHE_HOME="/home/hm-user/.cache"
You can nix flake update --recreate-lock-file instead of manually deleting it and recreating it
You can nix flake update --update-input home-manager to update just one input
tiny #nix tip #homemanager
It was surprisingly easy to port all my custom fish and git config to home manager. The next big thing I need to figure out is how to manage multiple java versions and assign their directory to environment vars. Currently using @asdf_vm but it doesn‘t seem to work on @nixos_org. #linux#nixos#homemanager#java#fishshell#git#asdfvm#shell#dotfiles
@publicvoit
Regarding your LUKS password issue. Could it be that you are using a LVM block (?) on the machine where you have to type in the password once?
And on the other host you have to decrypt ever single partition?
I think i have the latter case on my guix setup, which u did manually. The former on my NixOS hosts per installer.
Still loving the #hyprland#waybar combo, which of course runs beautifully now on NixOS thanks to the upstreamed updates...check it out if you're curious!!! 🤘 :nixos: #development#nix
Finally took some time to bust out the @PINE64#pinebookpro and have some fun! I'd planned on flashing #nixos onto it, but everything I'd book from the image on my NVMe, I'd go through the whole rebuild and switch but it continued failing to boot into the new build... 🤔
Next best option, fresh install an #archlinux based system with great development record for the PBP, #manjaro , and manage everything with #nix. Turns out option #2 is still pretty awesome! 😎🤘 :manjaro: :nixos: #linux
@monkeboi absolutely!! I actually went ahead and just pushed an updated version of my #nixos#homemanager configuration that I'm now running on my #thinkpad .
It includes the waybar directory that you can place in your $HOME so it's automatically detected (as long as there isn't a config earlier in it's $PATH)
Feel free to check it all out and use/share it! 🤘 😎 :nixos: