ChanServ changed the topic of #home-manager to: Support and discussion around the Home Manager project (https://github.com/nix-community/home-manager) | Logs: https://logs.nix.samueldr.com/home-manager
nf has quit [Quit: Fairfarren.]
nf has joined #home-manager
nf has quit [Quit: Fairfarren.]
nf has joined #home-manager
la-jesystani has quit [Quit: Lost terminal]
justanotheruser has quit [Ping timeout: 264 seconds]
justanotheruser has joined #home-manager
ece has quit [Read error: Connection reset by peer]
ece has joined #home-manager
coco has quit [Quit: WeeChat 2.9]
coco has joined #home-manager
<coco> For gpg, I get "gpg: WARNING: unsafe permissions on homedir '/home/<user>/.gnupg'". I can perform a `chmod go-rwx` to fix this, but is there a declarative way to do that?
cole-h has quit [Ping timeout: 240 seconds]
kalbasit has quit [Ping timeout: 256 seconds]
<hexa-> chmod 700 ~/.gnupg
<hexa-> and be done
<piegames1> coco: As the folder itself is not really part of any declarativeness, you only need to run the command once and be done.
<coco> piegames1: i see, thanks!
superherointj has joined #home-manager
superherointj has quit [Quit: Leaving]
<pumpy> What's the syntax for setting the https://nix-community.github.io/home-manager/options.html#opt-xsession.windowManager.i3.config.keybi... value to the example? i tried keybindings = ''\nexample...\n''; i tried that but it says error undefined var 'modifier'
superherointj has joined #home-manager
superherointj has quit [Remote host closed the connection]
kalbasit has joined #home-manager
superherointj has joined #home-manager
kiasdfasdd has joined #home-manager
kiasdfasdd is now known as pumpy_
pumpy has quit [Ping timeout: 256 seconds]
pumpy_ has quit [Ping timeout: 240 seconds]
kiasdfasdd has joined #home-manager
kiasdfasdd is now known as pumpy
pumpy has quit [Client Quit]
kiasdfasdd has joined #home-manager
kiasdfasdd has quit [Client Quit]
kiasdfasdd has joined #home-manager
kiasdfasdd is now known as pumpy
cole-h has joined #home-manager
<NobbZ[m]> In the snippet you have shown to use you are not even using something that is named "modifier", can you perhaps show a more complete example?
<pumpy> just figured it out ty!
o1lo01ol1o has joined #home-manager
<pumpy> why does the alacritty home manager module generate such a weird alacritty.yml file? it seems like it's still in nix format and not the normal format
<pumpy> :q
<dash> pumpy: you might be surprised what's legal yaml syntax
<pumpy> weird!
<pumpy> dash++
<{^_^}> dash's karma got increased to 1
<pumpy> anyone know why the alacritty module config: bell = {animation = "Linear"; color = "#ff0000" duration = 100;}; doesn't work? when i press backspace there's no visible flash. same config on openbsd does tho
<pumpy> does home manager give us any way to specify directories that should exist in $HOME?
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<devalot> pumpy: I use systemd.user.paths
<devalot> Of course, that only works on NixOS AFAIK.
<devalot> I take that back, works on any Linux distro using systemd.
<pumpy> im using nixos
<pumpy> devalot systemd.user.paths looks good. why you think they put it under systemd instead or just home or something?
<devalot> Because it's a low-level interface to systemd
<pumpy> what does systemd have to do with creating a few dirs in a user dir?
o1lo01ol1o has joined #home-manager
<rycee> pumpy: Typically it works well to create a `.keep` file inside the directory you want. Something like `home.file."directory/.keep".text= "";`
superherointj has quit [Remote host closed the connection]
<pumpy> rycee ty do you recommend that method instead of systemd.user.paths?
raoul has joined #home-manager
<pumpy> and why isn't there a home.dirs to make this easy?
<rycee> I don't know enough of `systemd.user.paths` to compare them.
<rycee> And I don't think anybody has had sufficient time and interest to make a `home.dirs` option. Adding it would require quite a bit of consideration, I think.
<pumpy> what's the main consideration? maybe i can help
<rycee> I think the main thing would be to make an unambiguous semantics so that home.file and home.directories that makes sense together. In particular w.r.t generation switches.
<rycee> If home.directories is implemented in terms of home.file, it should work automatically. But you'd have to find a pedagogical way to inform users that the directories won't be empty.
<piegames1> pumpy: What do you need this for?
<pumpy> to make .config/rofi so i can copy in my config.rasi theme file
<pumpy> rycee ty ill try to think of a way to do it when i learn more
<rycee> You want to create the directory in a HM configuration file and then copy the file manually into it? Why not just let HM create the file?
jschievink has quit [Ping timeout: 260 seconds]
jschievink has joined #home-manager
ZerataX has quit [Ping timeout: 260 seconds]
ZerataX has joined #home-manager
o1lo01ol1o has quit [Remote host closed the connection]