dot

NixOS dotfiles
git clone https://git.echoz.io/dot.git
Log | Files | Refs

default.nix (276B)


      1 {
      2   user,
      3   ...
      4 }:
      5 {
      6   home-manager.users.${user}.programs.gh = {
      7     enable = true;
      8     settings.git_protocol = "ssh";
      9   };
     10 
     11   environment.persistence."/fix".users.${user}.files = [
     12     {
     13       file = ".config/gh/hosts.yml";
     14       parentDirectory.mode = "0700";
     15     }
     16   ];
     17 }