Giter Site home page Giter Site logo

rasendubi / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
214.0 214.0 84.0 1.69 MB

My dotfiles

Python 8.25% Shell 0.22% Emacs Lisp 39.34% Nix 43.42% YASnippet 2.81% Vim Snippet 0.50% Vim Script 5.46%
dotfiles emacs-configuration nix-dotfiles nixos org-mode-configuration

dotfiles's Issues

About yubikey & secrets

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,

nixOS installation leads to "infinite recursion" error

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.

Multiple primary monitors

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";
          };
        };
      };

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.