nix-configs

Personal NixOS and home-manager configuration files
Log | Files | Refs

user.nix (413B)


      1 { pkgs, username, fullname, ... }:
      2 {
      3   users.users."${username}" = {
      4     isNormalUser = true;
      5     description = "${fullname}";
      6     shell = pkgs.fish;
      7     extraGroups = [ "networkmanager" "wheel" "video" "input" ];
      8   };
      9 
     10   # Enable fish shell, and for nix-shell
     11   programs.fish.enable = true;
     12   programs.fish.interactiveShellInit = ''
     13     ${pkgs.any-nix-shell}/bin/any-nix-shell fish --info-right | source
     14   '';
     15 }