NixOS: Difference between revisions

Add missing / to etc/nixos/blob.nix
No edit summary
Line 41: Line 41:
     # (hardware-configuration.nix is autogenerated upon installation)
     # (hardware-configuration.nix is autogenerated upon installation)
     # paths in nix expressions are always relative the file which defines them
     # paths in nix expressions are always relative the file which defines them
     imports =
     imports = [
         [
         ./hardware-configuration.nix
            ./hardware-configuration.nix
        ./my-dev-tools.nix
            ./my-dev-tools.nix
        ./my-desktop-env.nix
            ./my-desktop-env.nix
        ./etc.nix
            ./etc.nix
    ];
        ];


     # Name your host machine
     # Name your host machine
Line 60: Line 59:


     # Define user accounts
     # Define user accounts
     users.extraUsers =
     users.users.myuser = {
        {
      extraGroups = [ "wheel" "networkmanager" ];
            myuser =  
      isNormalUser = true;
            {
    };
                extraGroups = [ "wheel" "networkmanager" ];
                isNormalUser = true;
            };
        };
      
      
     # Install some packages
     # Install some packages
     environment.systemPackages =  
     environment.systemPackages = with pkgs; [
            with pkgs;  
      ddate
            [
      testdisk
                ddate
    ];  
                testdisk
                zsh
            ];  
   
   
     # Enable the OpenSSH daemon
     # Enable the OpenSSH daemon