srk has joined #nixos-on-your-router
<
srk>
I've tried to unfck my omnia with nixos recently but didn'
<
srk>
't manage due to u-boot
<
srk>
and distro-config
<
srk>
now trying to generate config for cisco sg300
qyliss has joined #nixos-on-your-router
<
srk>
so far so good, the idea is to have generated configs in etc and some small wrapper that would replace secrets and apply them over ssh
<
srk>
have something like this now /etc/netdev/cisco_switch1.conf
<
srk>
which is generated from config.netdev.cisco.switch1...
<
srk>
(even nixops-like deployments could work this way btw)
<
srk>
but back to the original question - what's your typical cisco switch config (if any)
* srk
's trying to avoid reflecting complete configuration space
<
cransom>
i haven't used any recent cisco stuff, but have they not gotten on the netconf bandwagon yet?
<
srk>
possibly, not sure if this switch supports it
<
srk>
was looking for some kind of escape hatch to be able to call e.g. C libraries for validating v4/v6 addresses or computing masks from prefix
<
srk>
there's even extra-builtins-file ! cool
lopsided98_ has joined #nixos-on-your-router
lopsided98_ is now known as lopsided98
pie__ has joined #nixos-on-your-router
pie___ has quit [Ping timeout: 268 seconds]
ottidmes has quit [Ping timeout: 258 seconds]
<
sphalerite>
srk: neat!
ottidmes has joined #nixos-on-your-router
Guanin has joined #nixos-on-your-router
Guanin has quit [Ping timeout: 272 seconds]
Guanin has joined #nixos-on-your-router
ottidmes has quit [Ping timeout: 268 seconds]
Guanin has quit [Ping timeout: 252 seconds]
ottidmes has joined #nixos-on-your-router
Guanin has joined #nixos-on-your-router