ag
Find a file
jacekpoz 7bde656c9f
ssh-agent (this shit is crazy read the whole commit message)
so first when I wanted to configure ssh to use the correct keys by
default I found some guide that used IdentitiesOnly yes so I used it
too without even knowing what it does

then later when I wanted to nix my ssh config I noticed that it's set to
true and didn't know what it does so I read the manpage

I wrote the description of the `indentitiesOnly` option of my wrapper
module based on that but I didn't really understand what it actually
does

well, as you can see in the commit history, a day or two ago (forgot) I
started using an ssh key to sign my commits and to make things even more
convenient I moved all of my private ssh keys to my keepassxc database
as attachments

I tested it on my main laptop and everything worked fine but on that
laptop all the keys were still in ~/.ssh as I didn't just want to
immediately delete them and risk losing any

well that's what hid this bug - on the main laptop when pushing, it just
used the keys in ~/.ssh, which I don't have on this laptop (the one I
take to classes) because, well, I did this not to have to copy both the
keepassxc database and ~/.ssh between machines - I only copied the
keepassxc database as it had all the keys in it

well turns out with the config before this commit, it would only try to
use keys in ~/.ssh which aren't - and won't - be here so it failed

this option makes it actually use keys supplied by ssh-agent, which
keepassxc acts as and is the only way to get them in the current setup
2024-03-05 17:43:10 +01:00
hosts ssh-agent (this shit is crazy read the whole commit message) 2024-03-05 17:43:10 +01:00
modules ssh-agent (this shit is crazy read the whole commit message) 2024-03-05 17:43:10 +01:00
options load the amdgpu kernel module in options/common/cpu/amd.nix 2024-03-02 23:42:49 +01:00
secrets secret :PP 2024-02-14 13:37:21 +01:00
.gitignore feat: massive 2023-11-25 17:12:09 +01:00
.gitmodules feat: massive 2023-11-25 17:12:09 +01:00
flake.lock update hyprland and stuff 2024-03-02 15:16:12 +01:00
flake.nix move to raf's pr on nix-gaming (fixes osu) 2024-03-02 15:15:55 +01:00
README.md :PPPPPPPPP 2024-02-29 01:24:18 +01:00

niksos

a modular flake containing configurations for most of my machines

I try to keep this simple so other people can learn from my config :-)

directory structure

niksos/
├───hosts/          (machine specific configuration)
│   ├───chmura/         [HP t620 PLUS Quad Core TC]
│   ├───del/            [Dell Latitude 7320 Detachable]
│   ├───hape/           [I'll type in the model here some day]
│   └───niks/           [ASUS ROG Strix G513QY]
├───modules/        (custom modules you can enable under `myOptions`)
├───options/        (unconditional modules imported in `hosts/*/profile.nix`)
│   ├───common/         (options shared between most or all systems)
│   ├───desktop/        (desktop specific options + tablet / mobile)
│   └───server/         (server specific options)
└───secrets/        (agenix secrets)

cool flakes

flakes I stole took inspiration from

https://git.notashelf.dev/NotAShelf/nyx
https://github.com/n3oney/nixus
https://github.com/sioodmy/dotfiles
https://github.com/RadovanSk/Faery/
https://git.outfoxxed.me/outfoxxed/nixnew
https://git.outfoxxed.me/outfoxxed/server-config
https://github.com/fufexan/dotfiles/
https://github.com/ardishco-the-great/nixcfg/
https://github.com/roastedcheese/nicks

license

public domain steal all you want just don't copy paste the whole flake and say you made it thanks :-)