rasendubi / dotfiles Goto Github PK
View Code? Open in Web Editor NEWMy dotfiles
My dotfiles
Thanks for sharing your setup.
"omicron-home" = {
fingerprint = {
eDP-1 = omicron;
DP-1 = home-monitor;
};
config = {
eDP-1 = {
enable = false; # probably changed values here
primary = true;
position = "320x2160";
mode = "3200x1800";
rate = "60.00";
};
DP-1 = {
enable = true;
primary = true;
position = "0x0";
mode = "3840x2160";
rate = "60.00";
};
};
};
When I try to install a new nixOS using your nixos config (I symlinked your nixos-config.nix into /etc/configuration.nix and ran nixos-install, after adapting the hard drive paths), I get the following stacktrace
[root@nixos:/mnt/etc/nixos]# nixos-install --show-trace
building the configuration in /mnt/etc/nixos/configuration.nix...
error: while evaluating the attribute 'config.system.build.toplevel' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:64:5:
while evaluating the attribute 'config' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:96:25:
while evaluating 'yieldConfig' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:83:29, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:82:16:
while evaluating 'mergeModules' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:233:26, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:73:17:
while evaluating 'mergeModules'' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:237:36, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:234:5:
while evaluating 'flip' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/trivial.nix:138:16, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:280:6:
while evaluating 'byName' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:260:25, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:268:21:
while evaluating 'reverseList' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:393:17, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:73:38:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:167:37, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:68:19:
while evaluating 'filterModules' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:157:36, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:168:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:161:31, called from undefined position:
while evaluating the attribute 'disabled' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:139:13:
while evaluating 'imap1' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:116:14, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:142:73:
while evaluating the attribute 'imports' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:193:9:
while evaluating the attribute 'imports' at /mnt/etc/nixos-config/nixos-config.nix:67:3:
while evaluating the module argument `name' in "/mnt/etc/nixos/configuration.nix":
infinite recursion encountered, at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:217:28
This also happens when I leave the configuration file completely unchanged. Is there a simple fix/explanation to it?
(Very cool stuff dotfiles repo btw!)
Edit: Took some time for me to understand that I need to read a bit about flakes to get all this.
Thanks a lot for you work and sharing your config.
I'm really interested to follow your way, i have mixed config (rpi4 & dell) and because i'm also a yubikey user, i have one or two questions about that. I'm already use Yubikey to remotly unlock my LUKS on RPI 4 so i'm interested to see if that will also works with secrets management.
I see you use passwordstore / pass, so you have gpg files.
Did you decrypt these secrets with yubikey as GPG smartcard ? Do you use gpg forwarding when you're on your remote pi ? Is it working well ?
Thanks,
Best regards,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.