noggynoggy, to NixOS
@noggynoggy@ieji.de avatar

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

#nixos #homemanager #sopsnix

publicvoit, to NixOS
@publicvoit@graz.social avatar

If you're unsure if #NixOS is worth a switch, read my thread from https://graz.social/@publicvoit/112197919942153866 & decide whether or not those questions would relate to you before jumping onto that hype.

I don't say that everybody has those issues. However, those are my takeaways so far including my optimistic start: https://www.karl-voit.at/2023/09/12/nix/

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.

#Nix #flakes

publicvoit, to NixOS
@publicvoit@graz.social avatar

#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. 🤔

https://github.com/novoid/nixos-config

#flakes #HomeManager

ljrk, to random
@ljrk@todon.eu avatar

So this #Flox thing based on #Nix sounds really awesome! Maybe I can even replace my #HomeManager with it?

https://tinkering.xyz/releasing-flox/

tomodachi94, to random
@tomodachi94@floss.social avatar

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?

:boost_ok:

#xdg #xdgterminals #xdg_utils #HomeManager #xdgterminalexec

dedsyn4ps3, to NixOS
@dedsyn4ps3@fosstodon.org avatar

My newly consolidated #nixos config has my upgraded #thinkpad looking so damn #sexy, I had to snap a pic!

Note to self: Using #homemanager as a NixOS module seriously helps stream-line things! 🙌😎 :nixos:

publicvoit, to xfce
@publicvoit@graz.social avatar

I'm using #xfce since way over a decade because:

  • 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.

Did somebody made that switch as well?

publicvoit, to github
@publicvoit@graz.social avatar

#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. 🤔

Background (but independent from the strategy above): some #xfce panel plugins are not working when installed via #HomeManager, visible if installed at #NixOS-level:
https://github.com/nix-community/home-manager/issues/4317

ljrk, to random
@ljrk@todon.eu avatar

I love how my personal update script with #Nix #HomeManager on #Flakes looks like this:

$ update  
[+] Updating home flake  
warning: updating lock file '/Users/janis.koenig/.config/home-manager/flake.lock':  
• Updated input 'home-manager':  
'github:nix-community/home-manager/b84191db127c16a92cbdf7f7b9969d58bb456699' (2024-01-17)  
→ 'github:nix-community/home-manager/d634c3abafa454551f2083b054cd95c3f287be61' (2024-01-28)  
• Updated input 'nixpkgs':  
'github:nixos/nixpkgs/c3e128f3c0ecc1fb04aef9f72b3dcc2f6cecf370' (2024-01-15)  
→ 'github:nixos/nixpkgs/c002c6aa977ad22c60398daaa9be52f2203d0006' (2024-01-27)  
[+] Buidling and switching to new generation  
Starting Home Manager activation  
Activating checkFilesChanged  
...  
Activating installPackages  
replacing old 'home-manager-path'  
installing 'home-manager-path'  
building '/nix/store/cbq0lvj9d4h7py3mxki5bszhz5wnp580-user-environment.drv'...  
Activating linkGeneration  
Cleaning up orphan links from /Users/janis.koenig  
Creating profile generation 31  
Creating home file links in /Users/janis.koenig  
Activating onFilesChange  
Activating setupLaunchAgents  
There is 1 unread and relevant news item.  
Read it by running the command "home-manager news".  
[+] Changes:  
...  
Version 30 -> 31:  
ada-grammar: 0.0.0+rev=f21f13a → 0.0.0+rev=ba0894e  
...  
ljrk, to rust
@ljrk@todon.eu avatar

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:

home.packages = [  
 (pkgs.uutils-coreutils.override { prefix = ""; })  
];  
brokenix, to guix
@brokenix@emacs.ch avatar

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

pinkcreeper100, to NixOS

why is my git config still readonly, i disabled gh cli's git integration in hm

#git #nix #nixOS #homeManager

pi_crew, to NixOS
@pi_crew@social.project-insanity.org avatar

Added a section to the #NixOS wiki on how to configure dark mode using #HomeManager 🎨 https://nixos.wiki/wiki/GNOME#Dark_mode

ljrk, to macos
@ljrk@todon.eu avatar

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.

cmars, to NixOS

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.

Alper_Celik, to NixOS
brokenix, to random
@brokenix@emacs.ch avatar

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

britter, to linux
@britter@chaos.social avatar

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

prma, to emacs
@prma@fosstodon.org avatar

I am giving #emacs another try. This time, I will not use any framework.

I'm mostly motivated by #OrgMode And another part is that I have found a pretty good workflow configuring things with #HomeManager in #NixOS.

genebean, to macos

I’ve finished my initial migration to using #Nix to manage the configuration of my laptops. I’ve converted https://github.com/genebean/dots into a flake that uses #HomeManager and works on both #macOS & #NixOS.

publicvoit, to NixOS
@publicvoit@graz.social avatar

I Started With , , and https://www.karl-voit.at/2023/09/12/nix/ ❄️

My whole story about changing my distro from to NixOS and what I've learned so far.

If you would like to learn what Nix is and find out if this is something for you, you might be interested in my article.

chfkch,
@chfkch@ruhr.social avatar

@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.

#Nix #NixOS #HomeManager #Flakes #Linux #Xubuntu #publicvoit #xfce

dedsyn4ps3, to NixOS
@dedsyn4ps3@fosstodon.org avatar

Just pushed an updated version of my #nixos #homemanager configuration that I'm running on my #thinkpad

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

https://www.github.com/dedsyn4ps3/nixos_desktop_configs

dedsyn4ps3, to NixOS
@dedsyn4ps3@fosstodon.org avatar

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

dedsyn4ps3,
@dedsyn4ps3@fosstodon.org avatar

@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:

https://www.github.com/dedsyn4ps3/nixos_desktop_configs

goofansu, to random
@goofansu@hachyderm.io avatar

Switched from iTerm2 to Kitty because of its plaintext configuration. It’s easy to configure it with #HomeManager: https://git.sr.ht/~goofansu/dotfiles.nix/tree/0a9ca534ba55bdcc4a3d1f0b7a6ff44d572c9303/item/rest.nix#L42-80. I miss the tmux integration of iTerm2, but it’s worth keeping things simple.

#Nix #simplicity

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • Durango
  • DreamBathrooms
  • osvaldo12
  • magazineikmin
  • tacticalgear
  • GTA5RPClips
  • thenastyranch
  • Youngstown
  • slotface
  • rosin
  • kavyap
  • everett
  • modclub
  • provamag3
  • InstantRegret
  • mdbf
  • cubers
  • cisconetworking
  • khanakhh
  • ngwrru68w68
  • ethstaker
  • anitta
  • normalnudes
  • Leos
  • tester
  • megavids
  • lostlight
  • All magazines