How to put nixos config into a git repository

Поділитися
Вставка
  • Опубліковано 10 гру 2024

КОМЕНТАРІ • 25

  • @sarveshkardekar4850
    @sarveshkardekar4850 2 роки тому +4

    Your keyboard speaks louder than you XD, consider adding subtitles, I am grateful for these videos tho, keep up the good work!

  • @andreaszweili8593
    @andreaszweili8593 3 роки тому +1

    Thanks a ton for these videos.
    It's much easier to get the over all concept of Nixos.
    All the questions I had (like how do I define user packages? How do I version the config) are already answered by you.

  • @SherubThakur
    @SherubThakur 3 роки тому +4

    This was extremely helpful, thanks. Eagerly waiting for the flake related videos that you mentioned here.

  • @TheStuzenz
    @TheStuzenz 3 роки тому +2

    I am really enjoying your tutorials - thank you! Interesting. I decided I was going to import my gpg private key over from the arch linux setup since I am trying to largely replicate in NixOS. I found I had a `gpg no pin entry` related error coming up. Did a bit of googling, not realising you were about to talk about a solution for a problem - that could have been similar to my problem. I didn't end up needing to change anything in the home.nix configuration
    I ended up going into our configuration.nix file and bringing into the config the commented out lines for the `programs.gnupg.agent` parameters and then doing a reboot and things worked for me at that point.

  • @ian.moran11
    @ian.moran11 3 роки тому +4

    These videos are great! Really easy to follow and super useful. Thanks Wil!

  • @henrikstanleymortensen4295
    @henrikstanleymortensen4295 3 роки тому +4

    Great content Wil.
    I was looking around for a source of videos to get started with the Nix eco system to compliment using Nix Pills, and so far your videos have been great.
    Thank you so much for the work you put into these.
    Subscribed and I will eagerly be awaiting your next video :)

  • @SebastianAnklamm
    @SebastianAnklamm 3 роки тому +2

    Amaze-balls. Really looking forward to more of this. Thank you for the great content.

  • @ZaarsShed
    @ZaarsShed 3 роки тому +3

    Thanks for creating excellent tutorial.
    Quick question: Why care about popd at the end of your scripts at 11:17?

    • @miyalys
      @miyalys 2 роки тому

      Yes, unless you source the script there's no need for pushd/popd and cd can just be used. At least in the states the scripts are in here.

  • @dmnx2
    @dmnx2 3 роки тому +13

    The content is great. Your voice sounds very faded though; I can head the keyboard louder than your voice :D

    • @wilfridtaylor
      @wilfridtaylor  3 роки тому +5

      I have made some changes to my audio setup which should fix this in future videos :).

  • @Becoming-Human
    @Becoming-Human 3 роки тому +2

    Awesome sauce! Thank you, Wil.

  • @Ramtechbytes
    @Ramtechbytes 5 місяців тому

    Thanks for the tutorial it really helped alot!

  • @maninalift
    @maninalift 3 роки тому +1

    These videos have been very helpful. Something that I find odd is that you copy across the hardware-configuration.nix into your repo. I'm not sure how this will work with configuring multiple machines from the same repo. Perhaps a later video will explain.

    • @wilfridtaylor
      @wilfridtaylor  3 роки тому +1

      I plan to make some videos on this later. Main way I solve this is by migrating over to flakes and also breaking chunks of config up into roles and selectively applying those roles to machines. I will create a video about this at some point.

  • @eritert
    @eritert 3 роки тому +1

    Yea this is a great video, subbed

  • @madsnygaard6444
    @madsnygaard6444 Рік тому

    Noob question: Should the username you setup in dotfiles be the same as the Github account username?

  • @kiaragrouwstra4250
    @kiaragrouwstra4250 2 роки тому +5

    transcribed some of the files in this video:
    # apply-system.sh
    #!/bin/sh
    pushd ~/.dotfiles
    sudo nixos-rebuild switch -I nixos-config=./system/configuration.nix
    popd
    # update-system.sh
    #!/bin/sh
    sudo nix-channel --update
    # apply-users.sh
    #!/bin/sh
    pushd ~/.dotfiles
    home-manager switch -f ./users/wil/home.nix
    popd
    # update-user.sh
    #!/bin/sh
    nix-channel --update
    # .gitattributes
    .secrets/** filter=git-crypt diff=git-crypt

  • @rekcah
    @rekcah 2 роки тому

    Thanks for your video, it really helps

  • @jaydelux2086
    @jaydelux2086 Рік тому

    Great video. Thank you.

  • @rachitverma2285
    @rachitverma2285 2 місяці тому

    Time stamps would be a great idea.

  • @EmilHarder
    @EmilHarder Рік тому

    Nice videos, but that poor enter key though..

  • @JOHNSMITH-ve3rq
    @JOHNSMITH-ve3rq Рік тому +1

    Damn it this sound is ridiculous dude!!!!

  • @junialter
    @junialter Рік тому +1

    I'm sorry but this is too silent, can barely understand.

  • @Virus00000000000001
    @Virus00000000000001 3 роки тому +5

    god damn that keyboard noises are annoying